home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / w3 / url.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-31  |  98.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 68 | 75 20 41 75 67 20 33 31 |du on Th|u Aug 31|
|00000040| 20 31 31 3a 31 39 3a 34 | 33 20 31 39 39 35 0a 3b | 11:19:4|3 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 65 78 |;; from |file /ex|
|00000060| 70 6f 72 74 2f 77 69 6c | 6c 6f 77 33 2f 78 65 6d |port/wil|low3/xem|
|00000070| 61 63 73 2d 31 39 2e 31 | 33 2d 72 65 6c 65 61 73 |acs-19.1|3-releas|
|00000080| 65 2f 65 64 69 74 6f 72 | 2f 6c 69 73 70 2f 77 33 |e/editor|/lisp/w3|
|00000090| 2f 75 72 6c 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |/url.el.|;;; emac|
|000000a0| 73 20 76 65 72 73 69 6f | 6e 20 31 39 2e 31 33 20 |s versio|n 19.13 |
|000000b0| 58 45 6d 61 63 73 20 4c | 75 63 69 64 2e 0a 3b 3b |XEmacs L|ucid..;;|
|000000c0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000d0| 6f 6e 20 32 2e 32 35 3b | 20 31 2d 53 65 70 2d 39 |on 2.25;| 1-Sep-9|
|000000e0| 34 2e 0a 3b 3b 3b 20 6f | 70 74 69 6d 69 7a 61 74 |4..;;; o|ptimizat|
|000000f0| 69 6f 6e 20 69 73 20 6f | 6e 2e 0a 3b 3b 3b 20 74 |ion is o|n..;;; t|
|00000100| 68 69 73 20 66 69 6c 65 | 20 75 73 65 73 20 6f 70 |his file| uses op|
|00000110| 63 6f 64 65 73 20 77 68 | 69 63 68 20 64 6f 20 6e |codes wh|ich do n|
|00000120| 6f 74 20 65 78 69 73 74 | 20 69 6e 20 45 6d 61 63 |ot exist| in Emac|
|00000130| 73 20 31 38 2e 0a 0a 28 | 69 66 20 28 61 6e 64 20 |s 18...(|if (and |
|00000140| 28 62 6f 75 6e 64 70 20 | 27 65 6d 61 63 73 2d 76 |(boundp |'emacs-v|
|00000150| 65 72 73 69 6f 6e 29 0a | 09 20 28 6f 72 20 28 61 |ersion).|. (or (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 70 6f 63 |nd (boun|dp 'epoc|
|00000170| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 20 65 70 6f 63 |h::versi|on) epoc|
|00000180| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 0a 09 20 20 20 |h::versi|on).. |
|00000190| 20 20 28 73 74 72 69 6e | 67 2d 6c 65 73 73 70 20 | (strin|g-lessp |
|000001a0| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 20 22 31 |emacs-ve|rsion "1|
|000001b0| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|000001c0| 20 22 54 68 69 73 20 66 | 69 6c 65 20 77 61 73 20 | "This f|ile was |
|000001d0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001e0| 63 73 20 31 39 2e 22 29 | 29 0a 0a 28 62 79 74 65 |cs 19.")|)..(byte|
|000001f0| 2d 63 6f 64 65 20 22 c0 | c1 21 88 c0 c2 21 88 c0 |-code ".|.!...!..|
|00000200| c3 21 88 c4 c5 21 ac 89 | c4 c6 21 ac 84 c0 c7 21 |.!...!..|..!....!|
|00000210| 88 c8 c9 4d 88 ca cb 21 | ab 86 cc cb 4d 88 aa 9a |...M...!|....M...|
|00000220| ca cd 21 ab 86 cc cd 4d | 88 aa 8f ca ce 21 ab 86 |..!....M|.....!..|
|00000230| cc cf 4d 88 aa 84 cc d0 | 4d 88 c0 87 22 20 5b 72 |..M.....|M..." [r|
|00000240| 65 71 75 69 72 65 20 6d | 6d 20 6d 64 35 20 62 61 |equire m|m md5 ba|
|00000250| 73 65 36 34 20 66 65 61 | 74 75 72 65 70 20 65 66 |se64 fea|turep ef|
|00000260| 73 20 65 66 73 2d 61 75 | 74 6f 20 61 6e 67 65 2d |s efs-au|to ange-|
|00000270| 66 74 70 20 75 72 6c 2d | 73 61 76 65 2d 65 72 72 |ftp url-|save-err|
|00000280| 6f 72 20 23 5b 28 65 72 | 72 6f 62 6a 29 20 22 8a |or #[(er|robj) ".|
|00000290| c0 c1 21 71 88 c2 20 88 | 29 c3 0c c0 c1 21 5c 22 |..!q.. .|)....!\"|
|000002a0| 87 22 20 5b 67 65 74 2d | 62 75 66 66 65 72 2d 63 |." [get-|buffer-c|
|000002b0| 72 65 61 74 65 20 22 20 | 2a 75 72 6c 2d 65 72 72 |reate " |*url-err|
|000002c0| 6f 72 2a 22 20 65 72 61 | 73 65 2d 62 75 66 66 65 |or*" era|se-buffe|
|000002d0| 72 20 64 69 73 70 6c 61 | 79 2d 65 72 72 6f 72 20 |r displa|y-error |
|000002e0| 65 72 72 6f 62 6a 5d 20 | 34 5d 20 66 62 6f 75 6e |errobj] |4] fboun|
|000002f0| 64 70 20 64 69 73 70 6c | 61 79 2d 77 61 72 6e 69 |dp displ|ay-warni|
|00000300| 6e 67 20 75 72 6c 2d 77 | 61 72 6e 20 77 33 2d 77 |ng url-w|arn w3-w|
|00000310| 61 72 6e 20 77 61 72 6e | 20 23 5b 28 63 6c 61 73 |arn warn| #[(clas|
|00000320| 73 20 6d 65 73 73 61 67 | 65 20 26 6f 70 74 69 6f |s messag|e &optio|
|00000330| 6e 61 6c 20 6c 65 76 65 | 6c 29 20 22 c0 c1 5c 6e |nal leve|l) "..\n|
|00000340| 0b ae 81 c4 0d 24 87 22 | 20 5b 77 61 72 6e 20 22 |.....$."| [warn "|
|00000350| 28 25 73 2f 25 73 29 20 | 25 73 22 20 63 6c 61 73 |(%s/%s) |%s" clas|
|00000360| 73 20 6c 65 76 65 6c 20 | 77 61 72 6e 69 6e 67 20 |s level |warning |
|00000370| 6d 65 73 73 61 67 65 5d | 20 35 5d 20 23 5b 28 63 |message]| 5] #[(c|
|00000380| 6c 61 73 73 20 6d 65 73 | 73 61 67 65 20 26 6f 70 |lass mes|sage &op|
|00000390| 74 69 6f 6e 61 6c 20 6c | 65 76 65 6c 29 20 22 8a |tional l|evel) ".|
|000003a0| c0 c1 21 71 88 64 62 88 | 8a c2 c3 0c 0d ae 81 c6 |..!q.db.|........|
|000003b0| 0e 07 24 63 88 29 c8 70 | 21 29 87 22 20 5b 67 65 |..$c.).p|!)." [ge|
|000003c0| 74 2d 62 75 66 66 65 72 | 2d 63 72 65 61 74 65 20 |t-buffer|-create |
|000003d0| 22 2a 57 33 2d 57 41 52 | 4e 49 4e 47 53 2a 22 20 |"*W3-WAR|NINGS*" |
|000003e0| 66 6f 72 6d 61 74 20 22 | 28 25 73 2f 25 73 29 20 |format "|(%s/%s) |
|000003f0| 25 73 5c 6e 22 20 63 6c | 61 73 73 20 6c 65 76 65 |%s\n" cl|ass leve|
|00000400| 6c 20 77 61 72 6e 69 6e | 67 20 6d 65 73 73 61 67 |l warnin|g messag|
|00000410| 65 20 64 69 73 70 6c 61 | 79 2d 62 75 66 66 65 72 |e displa|y-buffer|
|00000420| 5d 20 35 5d 5d 20 32 29 | 0a 28 66 73 65 74 20 27 |] 5]] 2)|.(fset '|
|00000430| 6e 6e 74 70 2d 68 65 61 | 64 65 72 2d 6e 75 6d 62 |nntp-hea|der-numb|
|00000440| 65 72 20 27 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |er '(mac|ro . #[(|
|00000450| 68 65 61 64 65 72 29 20 | 22 c0 09 c2 42 42 87 22 |header) |"...BB."|
|00000460| 20 5b 61 72 65 66 20 68 | 65 61 64 65 72 20 28 30 | [aref h|eader (0|
|00000470| 29 5d 20 33 20 22 5c 0a | 52 65 74 75 72 6e 20 61 |)] 3 "\.|Return a|
|00000480| 72 74 69 63 6c 65 20 6e | 75 6d 62 65 72 20 69 6e |rticle n|umber in|
|00000490| 20 48 45 41 44 45 52 2e | 22 5d 29 29 0a 28 66 73 | HEADER.|"])).(fs|
|000004a0| 65 74 20 27 6e 6e 74 70 | 2d 68 65 61 64 65 72 2d |et 'nntp|-header-|
|000004b0| 73 75 62 6a 65 63 74 20 | 27 28 6d 61 63 72 6f 20 |subject |'(macro |
|000004c0| 2e 20 23 5b 28 68 65 61 | 64 65 72 29 20 22 c0 09 |. #[(hea|der) "..|
|000004d0| c2 42 42 87 22 20 5b 61 | 72 65 66 20 68 65 61 64 |.BB." [a|ref head|
|000004e0| 65 72 20 28 31 29 5d 20 | 33 20 22 5c 0a 52 65 74 |er (1)] |3 "\.Ret|
|000004f0| 75 72 6e 20 73 75 62 6a | 65 63 74 20 73 74 72 69 |urn subj|ect stri|
|00000500| 6e 67 20 69 6e 20 48 45 | 41 44 45 52 2e 22 5d 29 |ng in HE|ADER."])|
|00000510| 29 0a 28 66 73 65 74 20 | 27 6e 6e 74 70 2d 68 65 |).(fset |'nntp-he|
|00000520| 61 64 65 72 2d 66 72 6f | 6d 20 27 28 6d 61 63 72 |ader-fro|m '(macr|
|00000530| 6f 20 2e 20 23 5b 28 68 | 65 61 64 65 72 29 20 22 |o . #[(h|eader) "|
|00000540| c0 09 c2 42 42 87 22 20 | 5b 61 72 65 66 20 68 65 |...BB." |[aref he|
|00000550| 61 64 65 72 20 28 32 29 | 5d 20 33 20 22 5c 0a 52 |ader (2)|] 3 "\.R|
|00000560| 65 74 75 72 6e 20 61 75 | 74 68 6f 72 20 73 74 72 |eturn au|thor str|
|00000570| 69 6e 67 20 69 6e 20 48 | 45 41 44 45 52 2e 22 5d |ing in H|EADER."]|
|00000580| 29 29 0a 28 66 73 65 74 | 20 27 6e 6e 74 70 2d 68 |)).(fset| 'nntp-h|
|00000590| 65 61 64 65 72 2d 78 72 | 65 66 20 27 28 6d 61 63 |eader-xr|ef '(mac|
|000005a0| 72 6f 20 2e 20 23 5b 28 | 68 65 61 64 65 72 29 20 |ro . #[(|header) |
|000005b0| 22 c0 09 c2 42 42 87 22 | 20 5b 61 72 65 66 20 68 |"...BB."| [aref h|
|000005c0| 65 61 64 65 72 20 28 33 | 29 5d 20 33 20 22 5c 0a |eader (3|)] 3 "\.|
|000005d0| 52 65 74 75 72 6e 20 78 | 72 65 66 20 73 74 72 69 |Return x|ref stri|
|000005e0| 6e 67 20 69 6e 20 48 45 | 41 44 45 52 2e 22 5d 29 |ng in HE|ADER."])|
|000005f0| 29 0a 28 66 73 65 74 20 | 27 6e 6e 74 70 2d 68 65 |).(fset |'nntp-he|
|00000600| 61 64 65 72 2d 6c 69 6e | 65 73 20 27 28 6d 61 63 |ader-lin|es '(mac|
|00000610| 72 6f 20 2e 20 23 5b 28 | 68 65 61 64 65 72 29 20 |ro . #[(|header) |
|00000620| 22 c0 09 c2 42 42 87 22 | 20 5b 61 72 65 66 20 68 |"...BB."| [aref h|
|00000630| 65 61 64 65 72 20 28 34 | 29 5d 20 33 20 22 5c 0a |eader (4|)] 3 "\.|
|00000640| 52 65 74 75 72 6e 20 6c | 69 6e 65 73 20 69 6e 20 |Return l|ines in |
|00000650| 48 45 41 44 45 52 2e 22 | 5d 29 29 0a 28 66 73 65 |HEADER."|])).(fse|
|00000660| 74 20 27 6e 6e 74 70 2d | 68 65 61 64 65 72 2d 64 |t 'nntp-|header-d|
|00000670| 61 74 65 20 27 28 6d 61 | 63 72 6f 20 2e 20 23 5b |ate '(ma|cro . #[|
|00000680| 28 68 65 61 64 65 72 29 | 20 22 c0 09 c2 42 42 87 |(header)| "...BB.|
|00000690| 22 20 5b 61 72 65 66 20 | 68 65 61 64 65 72 20 28 |" [aref |header (|
|000006a0| 35 29 5d 20 33 20 22 5c | 0a 52 65 74 75 72 6e 20 |5)] 3 "\|.Return |
|000006b0| 64 61 74 65 20 69 6e 20 | 48 45 41 44 45 52 2e 22 |date in |HEADER."|
|000006c0| 5d 29 29 0a 28 66 73 65 | 74 20 27 6e 6e 74 70 2d |])).(fse|t 'nntp-|
|000006d0| 68 65 61 64 65 72 2d 69 | 64 20 27 28 6d 61 63 72 |header-i|d '(macr|
|000006e0| 6f 20 2e 20 23 5b 28 68 | 65 61 64 65 72 29 20 22 |o . #[(h|eader) "|
|000006f0| c0 09 c2 42 42 87 22 20 | 5b 61 72 65 66 20 68 65 |...BB." |[aref he|
|00000700| 61 64 65 72 20 28 36 29 | 5d 20 33 20 22 5c 0a 52 |ader (6)|] 3 "\.R|
|00000710| 65 74 75 72 6e 20 49 64 | 20 69 6e 20 48 45 41 44 |eturn Id| in HEAD|
|00000720| 45 52 2e 22 5d 29 29 0a | 28 66 73 65 74 20 27 6e |ER."])).|(fset 'n|
|00000730| 6e 74 70 2d 68 65 61 64 | 65 72 2d 72 65 66 65 72 |ntp-head|er-refer|
|00000740| 65 6e 63 65 73 20 27 28 | 6d 61 63 72 6f 20 2e 20 |ences '(|macro . |
|00000750| 23 5b 28 68 65 61 64 65 | 72 29 20 22 c0 09 c2 42 |#[(heade|r) "...B|
|00000760| 42 87 22 20 5b 61 72 65 | 66 20 68 65 61 64 65 72 |B." [are|f header|
|00000770| 20 28 37 29 5d 20 33 20 | 22 5c 0a 52 65 74 75 72 | (7)] 3 |"\.Retur|
|00000780| 6e 20 72 65 66 65 72 65 | 6e 63 65 73 20 69 6e 20 |n refere|nces in |
|00000790| 48 45 41 44 45 52 2e 22 | 5d 29 29 0a 28 64 65 66 |HEADER."|])).(def|
|000007a0| 63 6f 6e 73 74 20 75 72 | 6c 2d 76 65 72 73 69 6f |const ur|l-versio|
|000007b0| 6e 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 19 |n (byte-|code "..|
|000007c0| c2 c3 09 5c 22 ab 88 09 | c4 94 c4 95 4f aa 81 09 |...\"...|....O...|
|000007d0| 29 87 22 20 5b 22 31 2e | 33 35 34 22 20 78 20 73 |)." ["1.|354" x s|
|000007e0| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 22 52 65 76 |tring-ma|tch "Rev|
|000007f0| 69 73 69 6f 6e 3a 20 5c | 5c 28 5b 5e 20 09 5c 6e |ision: \|\([^ .\n|
|00000800| 5d 2b 5c 5c 29 22 20 31 | 5d 20 33 29 20 22 5c 0a |]+\\)" 1|] 3) "\.|
|00000810| 56 65 72 73 69 6f 6e 20 | 23 20 6f 66 20 55 52 4c |Version |# of URL|
|00000820| 20 70 61 63 6b 61 67 65 | 2e 22 29 0a 28 64 65 66 | package|.").(def|
|00000830| 76 61 72 20 75 72 6c 2d | 63 75 72 72 65 6e 74 2d |var url-|current-|
|00000840| 74 69 6d 65 2d 73 74 72 | 69 6e 67 2d 68 61 73 2d |time-str|ing-has-|
|00000850| 61 72 67 73 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |args (by|te-code |
|00000860| 22 c0 c1 5c 6e 5c 22 ab | 82 c3 87 c0 c4 5c 6e 5c |"..\n\".|.....\n\|
|00000870| 22 ab 86 c0 c5 5c 6e 5c | 22 3f 87 c0 c6 5c 6e 5c |"....\n\|"?...\n\|
|00000880| 22 ad 81 c3 87 22 20 5b | 73 74 72 69 6e 67 2d 6d |"...." [|string-m|
|00000890| 61 74 63 68 20 22 58 45 | 6d 61 63 73 22 20 65 6d |atch "XE|macs" em|
|000008a0| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 74 20 22 4c |acs-vers|ion t "L|
|000008b0| 75 63 69 64 22 20 22 57 | 69 6e 2d 45 6d 61 63 73 |ucid" "W|in-Emacs|
|000008c0| 22 20 22 5e 31 39 22 5d | 20 33 29 20 22 5c 0a 4e |" "^19"]| 3) "\.N|
|000008d0| 6f 6e 2d 6e 69 6c 20 69 | 66 66 20 60 63 75 72 72 |on-nil i|ff `curr|
|000008e0| 65 6e 74 2d 74 69 6d 65 | 2d 73 74 72 69 6e 67 27 |ent-time|-string'|
|000008f0| 20 63 61 6e 20 74 61 6b | 65 20 61 6e 20 61 72 67 | can tak|e an arg|
|00000900| 75 6d 65 6e 74 2e 22 29 | 0a 28 64 65 66 76 61 72 |ument.")|.(defvar|
|00000910| 20 75 72 6c 2d 63 75 72 | 72 65 6e 74 2d 63 61 6e | url-cur|rent-can|
|00000920| 2d 62 65 2d 63 61 63 68 | 65 64 20 74 20 22 5c 0a |-be-cach|ed t "\.|
|00000930| 2a 57 68 65 74 68 65 72 | 20 74 68 65 20 63 75 72 |*Whether| the cur|
|00000940| 72 65 6e 74 20 55 52 4c | 20 63 61 6e 20 62 65 20 |rent URL| can be |
|00000950| 63 61 63 68 65 64 2e 22 | 29 0a 28 64 65 66 76 61 |cached."|).(defva|
|00000960| 72 20 75 72 6c 2d 63 75 | 72 72 65 6e 74 2d 6f 62 |r url-cu|rrent-ob|
|00000970| 6a 65 63 74 20 6e 69 6c | 20 22 5c 0a 41 20 70 61 |ject nil| "\.A pa|
|00000980| 72 73 65 64 20 72 65 70 | 72 65 73 65 6e 74 61 74 |rsed rep|resentat|
|00000990| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ion of t|he curre|
|000009a0| 6e 74 20 75 72 6c 22 29 | 0a 28 64 65 66 76 61 72 |nt url")|.(defvar|
|000009b0| 20 75 72 6c 2d 63 75 72 | 72 65 6e 74 2d 63 61 6c | url-cur|rent-cal|
|000009c0| 6c 62 61 63 6b 2d 66 75 | 6e 63 20 6e 69 6c 20 22 |lback-fu|nc nil "|
|000009d0| 5c 0a 2a 54 68 65 20 63 | 61 6c 6c 62 61 63 6b 20 |\.*The c|allback |
|000009e0| 66 75 6e 63 74 69 6f 6e | 20 66 6f 72 20 74 68 65 |function| for the|
|000009f0| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 2e | current| buffer.|
|00000a00| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 63 |").(defv|ar url-c|
|00000a10| 75 72 72 65 6e 74 2d 63 | 61 6c 6c 62 61 63 6b 2d |urrent-c|allback-|
|00000a20| 64 61 74 61 20 6e 69 6c | 20 22 5c 0a 2a 54 68 65 |data nil| "\.*The|
|00000a30| 20 64 61 74 61 20 74 6f | 20 62 65 20 70 61 73 73 | data to| be pass|
|00000a40| 65 64 20 74 6f 20 74 68 | 65 20 63 61 6c 6c 62 61 |ed to th|e callba|
|00000a50| 63 6b 20 66 75 6e 63 74 | 69 6f 6e 2e 20 20 54 68 |ck funct|ion. Th|
|00000a60| 69 73 20 73 68 6f 75 6c | 64 20 62 65 20 61 20 6c |is shoul|d be a l|
|00000a70| 69 73 74 2c 0a 65 61 63 | 68 20 69 74 65 6d 20 69 |ist,.eac|h item i|
|00000a80| 6e 20 74 68 65 20 6c 69 | 73 74 20 77 69 6c 6c 20 |n the li|st will |
|00000a90| 62 65 20 61 6e 20 61 72 | 67 75 6d 65 6e 74 20 74 |be an ar|gument t|
|00000aa0| 6f 20 74 68 65 20 75 72 | 6c 2d 63 75 72 72 65 6e |o the ur|l-curren|
|00000ab0| 74 2d 63 61 6c 6c 62 61 | 63 6b 2d 66 75 6e 63 2e |t-callba|ck-func.|
|00000ac0| 22 29 0a 28 6d 61 70 63 | 61 72 20 27 6d 61 6b 65 |").(mapc|ar 'make|
|00000ad0| 2d 76 61 72 69 61 62 6c | 65 2d 62 75 66 66 65 72 |-variabl|e-buffer|
|00000ae0| 2d 6c 6f 63 61 6c 20 27 | 28 75 72 6c 2d 63 75 72 |-local '|(url-cur|
|00000af0| 72 65 6e 74 2d 63 61 6c | 6c 62 61 63 6b 2d 64 61 |rent-cal|lback-da|
|00000b00| 74 61 20 75 72 6c 2d 63 | 75 72 72 65 6e 74 2d 63 |ta url-c|urrent-c|
|00000b10| 61 6c 6c 62 61 63 6b 2d | 66 75 6e 63 20 75 72 6c |allback-|func url|
|00000b20| 2d 63 75 72 72 65 6e 74 | 2d 63 61 6e 2d 62 65 2d |-current|-can-be-|
|00000b30| 63 61 63 68 65 64 20 75 | 72 6c 2d 63 75 72 72 65 |cached u|rl-curre|
|00000b40| 6e 74 2d 63 6f 6e 74 65 | 6e 74 2d 6c 65 6e 67 74 |nt-conte|nt-lengt|
|00000b50| 68 20 75 72 6c 2d 63 75 | 72 72 65 6e 74 2d 66 69 |h url-cu|rrent-fi|
|00000b60| 6c 65 20 75 72 6c 2d 63 | 75 72 72 65 6e 74 2d 69 |le url-c|urrent-i|
|00000b70| 73 69 6e 64 65 78 20 75 | 72 6c 2d 63 75 72 72 65 |sindex u|rl-curre|
|00000b80| 6e 74 2d 6d 69 6d 65 2d | 65 6e 63 6f 64 69 6e 67 |nt-mime-|encoding|
|00000b90| 20 75 72 6c 2d 63 75 72 | 72 65 6e 74 2d 6d 69 6d | url-cur|rent-mim|
|00000ba0| 65 2d 68 65 61 64 65 72 | 73 20 75 72 6c 2d 63 75 |e-header|s url-cu|
|00000bb0| 72 72 65 6e 74 2d 6d 69 | 6d 65 2d 74 79 70 65 20 |rrent-mi|me-type |
|00000bc0| 75 72 6c 2d 63 75 72 72 | 65 6e 74 2d 6d 69 6d 65 |url-curr|ent-mime|
|00000bd0| 2d 76 69 65 77 65 72 20 | 75 72 6c 2d 63 75 72 72 |-viewer |url-curr|
|00000be0| 65 6e 74 2d 6f 62 6a 65 | 63 74 20 75 72 6c 2d 63 |ent-obje|ct url-c|
|00000bf0| 75 72 72 65 6e 74 2d 70 | 6f 72 74 20 75 72 6c 2d |urrent-p|ort url-|
|00000c00| 63 75 72 72 65 6e 74 2d | 72 65 66 65 72 65 72 20 |current-|referer |
|00000c10| 75 72 6c 2d 63 75 72 72 | 65 6e 74 2d 74 79 70 65 |url-curr|ent-type|
|00000c20| 20 75 72 6c 2d 63 75 72 | 72 65 6e 74 2d 75 73 65 | url-cur|rent-use|
|00000c30| 72 29 29 0a 28 64 65 66 | 76 61 72 20 75 72 6c 2d |r)).(def|var url-|
|00000c40| 64 65 66 61 75 6c 74 2d | 72 65 74 72 69 65 76 61 |default-|retrieva|
|00000c50| 6c 2d 70 72 6f 63 20 23 | 5b 28 62 75 66 29 20 22 |l-proc #|[(buf) "|
|00000c60| 8a 08 71 88 09 ad 83 c2 | 09 21 29 ab 85 8a c3 8b |..q.....|.!).....|
|00000c70| 29 87 c2 c4 21 ab 88 c5 | c6 08 5c 22 88 c4 20 87 |)...!...|..\".. .|
|00000c80| c7 c8 08 5c 22 87 22 20 | 5b 62 75 66 20 75 72 6c |...\"." |[buf url|
|00000c90| 2d 63 75 72 72 65 6e 74 | 2d 63 61 6c 6c 62 61 63 |-current|-callbac|
|00000ca0| 6b 2d 66 75 6e 63 20 66 | 62 6f 75 6e 64 70 20 28 |k-func f|boundp (|
|00000cb0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 71 88 09 |(byte-co|de ".q..|
|00000cc0| 3c ab 85 c2 0b 09 5c 22 | 87 09 ab 84 0b 09 21 87 |<.....\"|......!.|
|00000cd0| 0b 20 87 22 20 5b 62 75 | 66 20 75 72 6c 2d 63 75 |. ." [bu|f url-cu|
|00000ce0| 72 72 65 6e 74 2d 63 61 | 6c 6c 62 61 63 6b 2d 64 |rrent-ca|llback-d|
|00000cf0| 61 74 61 20 61 70 70 6c | 79 20 75 72 6c 2d 63 75 |ata appl|y url-cu|
|00000d00| 72 72 65 6e 74 2d 63 61 | 6c 6c 62 61 63 6b 2d 66 |rrent-ca|llback-f|
|00000d10| 75 6e 63 5d 20 33 29 29 | 20 77 33 2d 73 65 6e 74 |unc] 3))| w3-sent|
|00000d20| 69 6e 65 6c 20 73 65 74 | 2d 76 61 72 69 61 62 6c |inel set|-variabl|
|00000d30| 65 20 77 33 2d 77 6f 72 | 6b 69 6e 67 2d 62 75 66 |e w3-wor|king-buf|
|00000d40| 66 65 72 20 6d 65 73 73 | 61 67 65 20 22 52 65 74 |fer mess|age "Ret|
|00000d50| 72 69 65 76 61 6c 20 66 | 6f 72 20 25 73 20 63 6f |rieval f|or %s co|
|00000d60| 6d 70 6c 65 74 65 2e 22 | 5d 20 33 5d 20 22 5c 0a |mplete."|] 3] "\.|
|00000d70| 2a 54 68 65 20 64 65 66 | 61 75 6c 74 20 61 63 74 |*The def|ault act|
|00000d80| 69 6f 6e 20 74 6f 20 74 | 61 6b 65 20 77 68 65 6e |ion to t|ake when|
|00000d90| 20 61 6e 20 61 73 79 6e | 63 68 72 6f 6e 6f 75 73 | an asyn|chronous|
|00000da0| 20 72 65 74 72 69 65 76 | 61 6c 20 63 6f 6d 70 6c | retriev|al compl|
|00000db0| 65 74 65 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |etes.").|(defvar |
|00000dc0| 75 72 6c 2d 68 6f 6e 6f | 72 2d 72 65 66 72 65 73 |url-hono|r-refres|
|00000dd0| 68 2d 72 65 71 75 65 73 | 74 73 20 74 20 22 5c 0a |h-reques|ts t "\.|
|00000de0| 2a 57 68 65 74 68 65 72 | 20 74 6f 20 64 6f 20 61 |*Whether| to do a|
|00000df0| 75 74 6f 6d 61 74 69 63 | 20 70 61 67 65 20 72 65 |utomatic| page re|
|00000e00| 6c 6f 61 64 73 20 61 74 | 20 74 68 65 20 72 65 71 |loads at| the req|
|00000e10| 75 65 73 74 20 6f 66 20 | 74 68 65 20 64 6f 63 75 |uest of |the docu|
|00000e20| 6d 65 6e 74 0a 61 75 74 | 68 6f 72 20 6f 72 20 74 |ment.aut|hor or t|
|00000e30| 68 65 20 73 65 72 76 65 | 72 20 76 69 61 20 74 68 |he serve|r via th|
|00000e40| 65 20 60 52 65 66 72 65 | 73 68 27 20 68 65 61 64 |e `Refre|sh' head|
|00000e50| 65 72 20 69 6e 20 61 6e | 20 48 54 54 50 2f 31 2e |er in an| HTTP/1.|
|00000e60| 30 20 72 65 73 70 6f 6e | 73 65 2e 0a 49 66 20 6e |0 respon|se..If n|
|00000e70| 69 6c 2c 20 6e 6f 20 72 | 65 66 72 65 73 68 20 72 |il, no r|efresh r|
|00000e80| 65 71 75 65 73 74 73 20 | 77 69 6c 6c 20 62 65 20 |equests |will be |
|00000e90| 68 6f 6e 6f 72 65 64 2e | 0a 49 66 20 74 2c 20 61 |honored.|.If t, a|
|00000ea0| 6c 6c 20 72 65 66 72 65 | 73 68 20 72 65 71 75 65 |ll refre|sh reque|
|00000eb0| 73 74 73 20 77 69 6c 6c | 20 62 65 20 68 6f 6e 6f |sts will| be hono|
|00000ec0| 72 65 64 2e 0a 49 66 20 | 6e 6f 6e 2d 6e 69 6c 20 |red..If |non-nil |
|00000ed0| 61 6e 64 20 6e 6f 74 20 | 74 2c 20 74 68 65 20 75 |and not |t, the u|
|00000ee0| 73 65 72 20 77 69 6c 6c | 20 62 65 20 61 73 6b 65 |ser will| be aske|
|00000ef0| 64 20 66 6f 72 20 65 61 | 63 68 20 72 65 66 72 65 |d for ea|ch refre|
|00000f00| 73 68 20 72 65 71 75 65 | 73 74 2e 22 29 0a 28 64 |sh reque|st.").(d|
|00000f10| 65 66 76 61 72 20 75 72 | 6c 2d 65 6d 61 63 73 2d |efvar ur|l-emacs-|
|00000f20| 6d 69 6e 6f 72 2d 76 65 | 72 73 69 6f 6e 20 28 62 |minor-ve|rsion (b|
|00000f30| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 ab 83 c1 |yte-code| "..!...|
|00000f40| 4a 87 c2 c3 0c 5c 22 ab | 89 c5 0c c6 94 c6 95 4f |J....\".|.......O|
|00000f50| 21 87 c7 87 22 20 5b 62 | 6f 75 6e 64 70 20 65 6d |!..." [b|oundp em|
|00000f60| 61 63 73 2d 6d 69 6e 6f | 72 2d 76 65 72 73 69 6f |acs-mino|r-versio|
|00000f70| 6e 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 22 |n string|-match "|
|00000f80| 5e 5b 30 2d 39 5d 2b 5c | 5c 2e 5c 5c 28 5b 30 2d |^[0-9]+\|\.\\([0-|
|00000f90| 39 5d 2b 5c 5c 29 22 20 | 65 6d 61 63 73 2d 76 65 |9]+\\)" |emacs-ve|
|00000fa0| 72 73 69 6f 6e 20 73 74 | 72 69 6e 67 2d 74 6f 2d |rsion st|ring-to-|
|00000fb0| 69 6e 74 20 31 20 30 5d | 20 34 29 20 22 5c 0a 57 |int 1 0]| 4) "\.W|
|00000fc0| 68 61 74 20 6d 69 6e 6f | 72 20 76 65 72 73 69 6f |hat mino|r versio|
|00000fd0| 6e 20 6f 66 20 65 6d 61 | 63 73 20 77 65 20 61 72 |n of ema|cs we ar|
|00000fe0| 65 20 75 73 69 6e 67 2e | 22 29 0a 28 64 65 66 76 |e using.|").(defv|
|00000ff0| 61 72 20 75 72 6c 2d 69 | 6e 68 69 62 69 74 2d 6d |ar url-i|nhibit-m|
|00001000| 69 6d 65 2d 70 61 72 73 | 69 6e 67 20 6e 69 6c 20 |ime-pars|ing nil |
|00001010| 22 5c 0a 57 68 65 74 68 | 65 72 20 74 6f 20 70 61 |"\.Wheth|er to pa|
|00001020| 72 73 65 20 6f 75 74 20 | 28 61 6e 64 20 64 65 6c |rse out |(and del|
|00001030| 65 74 65 29 20 74 68 65 | 20 4d 49 4d 45 20 68 65 |ete) the| MIME he|
|00001040| 61 64 65 72 73 20 66 72 | 6f 6d 20 61 20 6d 65 73 |aders fr|om a mes|
|00001050| 73 61 67 65 2e 22 29 0a | 28 64 65 66 76 61 72 20 |sage.").|(defvar |
|00001060| 75 72 6c 2d 66 6f 72 6d | 73 2d 62 61 73 65 64 2d |url-form|s-based-|
|00001070| 66 74 70 20 6e 69 6c 20 | 22 5c 0a 2a 49 66 20 6e |ftp nil |"\.*If n|
|00001080| 6f 6e 2d 6e 69 6c 2c 20 | 6c 6f 63 61 6c 20 61 6e |on-nil, |local an|
|00001090| 64 20 72 65 6d 6f 74 65 | 20 66 69 6c 65 20 61 63 |d remote| file ac|
|000010a0| 63 65 73 73 20 6f 66 20 | 64 69 72 65 63 74 6f 72 |cess of |director|
|000010b0| 69 65 73 20 77 69 6c 6c | 20 62 65 20 73 68 6f 77 |ies will| be show|
|000010c0| 6e 0a 61 73 20 61 6e 20 | 48 54 4d 4c 20 33 2e 30 |n.as an |HTML 3.0|
|000010d0| 20 66 6f 72 6d 2c 20 61 | 6c 6c 6f 77 69 6e 67 20 | form, a|llowing |
|000010e0| 64 6f 77 6e 6c 6f 61 64 | 73 20 6f 66 20 6d 75 6c |download|s of mul|
|000010f0| 74 69 70 6c 65 20 66 69 | 6c 65 73 20 61 74 20 6f |tiple fi|les at o|
|00001100| 6e 63 65 2e 22 29 0a 28 | 64 65 66 76 61 72 20 75 |nce.").(|defvar u|
|00001110| 72 6c 2d 61 75 74 6f 6d | 61 74 69 63 2d 63 61 63 |rl-autom|atic-cac|
|00001120| 68 69 6e 67 20 6e 69 6c | 20 22 5c 0a 2a 49 66 20 |hing nil| "\.*If |
|00001130| 6e 6f 6e 2d 6e 69 6c 2c | 20 61 6c 6c 20 64 6f 63 |non-nil,| all doc|
|00001140| 75 6d 65 6e 74 73 20 77 | 69 6c 6c 20 62 65 20 61 |uments w|ill be a|
|00001150| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 63 61 63 |utomatic|ally cac|
|00001160| 68 65 64 20 74 6f 20 74 | 68 65 20 6c 6f 63 61 6c |hed to t|he local|
|00001170| 0a 64 69 73 6b 2e 22 29 | 0a 28 64 65 66 76 61 72 |.disk.")|.(defvar|
|00001180| 20 75 72 6c 2d 63 61 63 | 68 65 2d 65 78 70 69 72 | url-cac|he-expir|
|00001190| 65 64 20 23 5b 28 74 31 | 20 74 32 29 20 22 08 40 |ed #[(t1| t2) ".@|
|000011a0| 09 40 5a c2 59 87 22 20 | 5b 74 32 20 74 31 20 35 |.@Z.Y." |[t2 t1 5|
|000011b0| 5d 20 32 5d 20 22 5c 0a | 2a 41 20 66 75 6e 63 74 |] 2] "\.|*A funct|
|000011c0| 69 6f 6e 20 28 60 66 75 | 6e 63 61 6c 6c 27 61 62 |ion (`fu|ncall'ab|
|000011d0| 6c 65 29 20 74 68 61 74 | 20 74 61 6b 65 73 20 74 |le) that| takes t|
|000011e0| 77 6f 20 74 69 6d 65 73 | 20 61 73 20 69 74 73 20 |wo times| as its |
|000011f0| 61 72 67 75 6d 65 6e 74 | 73 2c 20 61 6e 64 0a 72 |argument|s, and.r|
|00001200| 65 74 75 72 6e 73 20 6e | 6f 6e 2d 6e 69 6c 20 69 |eturns n|on-nil i|
|00001210| 66 20 74 68 65 20 73 65 | 63 6f 6e 64 20 74 69 6d |f the se|cond tim|
|00001220| 65 20 69 73 20 27 74 6f | 6f 20 6f 6c 64 27 20 77 |e is 'to|o old' w|
|00001230| 68 65 6e 20 63 6f 6d 70 | 61 72 65 64 20 74 6f 20 |hen comp|ared to |
|00001240| 74 68 65 20 66 69 72 73 | 74 0a 74 69 6d 65 2e 22 |the firs|t.time."|
|00001250| 29 0a 28 64 65 66 76 61 | 72 20 75 72 6c 2d 63 68 |).(defva|r url-ch|
|00001260| 65 63 6b 2d 6d 64 35 73 | 20 6e 69 6c 20 22 5c 0a |eck-md5s| nil "\.|
|00001270| 2a 57 68 65 74 68 65 72 | 20 74 6f 20 63 68 65 63 |*Whether| to chec|
|00001280| 6b 20 6d 64 35 73 20 6f | 66 20 72 65 74 72 69 65 |k md5s o|f retrie|
|00001290| 76 65 64 20 64 6f 63 75 | 6d 65 6e 74 73 20 6f 72 |ved docu|ments or|
|000012a0| 20 6e 6f 74 2e 22 29 0a | 28 64 65 66 76 61 72 20 | not.").|(defvar |
|000012b0| 75 72 6c 2d 65 78 70 65 | 63 74 65 64 2d 6d 64 35 |url-expe|cted-md5|
|000012c0| 20 6e 69 6c 20 22 5c 0a | 57 68 61 74 20 6d 64 35 | nil "\.|What md5|
|000012d0| 20 77 65 20 65 78 70 65 | 63 74 20 74 6f 20 73 65 | we expe|ct to se|
|000012e0| 65 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |e.").(de|fvar url|
|000012f0| 2d 62 72 6f 6b 65 6e 2d | 72 65 73 6f 6c 75 74 69 |-broken-|resoluti|
|00001300| 6f 6e 20 6e 69 6c 20 22 | 5c 0a 2a 57 68 65 74 68 |on nil "|\.*Wheth|
|00001310| 65 72 20 74 6f 20 75 73 | 65 20 5b 61 6e 67 65 7c |er to us|e [ange||
|00001320| 65 66 73 5d 2d 66 74 70 | 2d 6e 73 6c 6f 6f 6b 75 |efs]-ftp|-nslooku|
|00001330| 70 2d 68 6f 73 74 2e 22 | 29 0a 28 64 65 66 76 61 |p-host."|).(defva|
|00001340| 72 20 75 72 6c 2d 62 75 | 67 2d 61 64 64 72 65 73 |r url-bu|g-addres|
|00001350| 73 20 22 77 6d 70 65 72 | 72 79 40 73 70 72 79 2e |s "wmper|ry@spry.|
|00001360| 63 6f 6d 22 20 22 5c 0a | 57 68 65 72 65 20 74 6f |com" "\.|Where to|
|00001370| 20 73 65 6e 64 20 62 75 | 67 20 72 65 70 6f 72 74 | send bu|g report|
|00001380| 73 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |s.").(de|fvar url|
|00001390| 2d 70 65 72 73 6f 6e 61 | 6c 2d 6d 61 69 6c 2d 61 |-persona|l-mail-a|
|000013a0| 64 64 72 65 73 73 20 6e | 69 6c 20 22 5c 0a 2a 59 |ddress n|il "\.*Y|
|000013b0| 6f 75 72 20 66 75 6c 6c | 20 65 6d 61 69 6c 20 61 |our full| email a|
|000013c0| 64 64 72 65 73 73 2e 20 | 20 54 68 69 73 20 69 73 |ddress. | This is|
|000013d0| 20 77 68 61 74 20 69 73 | 20 73 65 6e 74 20 74 6f | what is| sent to|
|000013e0| 20 48 54 54 50 2f 31 2e | 30 20 73 65 72 76 65 72 | HTTP/1.|0 server|
|000013f0| 73 20 61 73 0a 74 68 65 | 20 46 52 4f 4d 20 66 69 |s as.the| FROM fi|
|00001400| 65 6c 64 2e 20 20 49 66 | 20 6e 6f 74 20 73 65 74 |eld. If| not set|
|00001410| 20 77 68 65 6e 20 75 72 | 6c 2d 64 6f 2d 73 65 74 | when ur|l-do-set|
|00001420| 75 70 20 69 73 20 72 75 | 6e 2c 20 69 74 20 64 65 |up is ru|n, it de|
|00001430| 66 61 75 6c 74 73 20 74 | 6f 0a 74 68 65 20 76 61 |faults t|o.the va|
|00001440| 6c 75 65 20 6f 66 20 75 | 72 6c 2d 70 67 70 2f 70 |lue of u|rl-pgp/p|
|00001450| 65 6d 2d 65 6e 74 69 74 | 79 2e 22 29 0a 28 64 65 |em-entit|y.").(de|
|00001460| 66 76 61 72 20 75 72 6c | 2d 6d 75 6c 65 2d 72 65 |fvar url|-mule-re|
|00001470| 74 72 69 65 76 61 6c 2d | 63 6f 64 69 6e 67 2d 73 |trieval-|coding-s|
|00001480| 79 73 74 65 6d 20 28 62 | 79 74 65 2d 63 6f 64 65 |ystem (b|yte-code|
|00001490| 20 22 c0 c1 21 ad 81 5c | 6e 87 22 20 5b 62 6f 75 | "..!..\|n." [bou|
|000014a0| 6e 64 70 20 4d 55 4c 45 | 20 2a 65 75 63 2d 6a 61 |ndp MULE| *euc-ja|
|000014b0| 70 61 6e 2a 5d 20 32 29 | 20 22 5c 0a 43 6f 64 69 |pan*] 2)| "\.Codi|
|000014c0| 6e 67 20 73 79 73 74 65 | 6d 20 66 6f 72 20 72 65 |ng syste|m for re|
|000014d0| 74 72 69 65 76 61 6c 2c | 20 75 73 65 64 20 62 65 |trieval,| used be|
|000014e0| 66 6f 72 65 20 68 65 78 | 69 66 69 65 64 2e 22 29 |fore hex|ified.")|
|000014f0| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 64 69 72 |.(defvar| url-dir|
|00001500| 65 63 74 6f 72 79 2d 69 | 6e 64 65 78 2d 66 69 6c |ectory-i|ndex-fil|
|00001510| 65 20 22 69 6e 64 65 78 | 2e 68 74 6d 6c 22 20 22 |e "index|.html" "|
|00001520| 5c 0a 2a 54 68 65 20 66 | 69 6c 65 6e 61 6d 65 20 |\.*The f|ilename |
|00001530| 74 6f 20 6c 6f 6f 6b 20 | 66 6f 72 20 77 68 65 6e |to look |for when|
|00001540| 20 69 6e 64 65 78 69 6e | 67 20 61 20 64 69 72 65 | indexin|g a dire|
|00001550| 63 74 6f 72 79 2e 20 20 | 49 66 20 74 68 69 73 20 |ctory. |If this |
|00001560| 66 69 6c 65 0a 65 78 69 | 73 74 73 2c 20 61 6e 64 |file.exi|sts, and|
|00001570| 20 69 73 20 72 65 61 64 | 61 62 6c 65 2c 20 74 68 | is read|able, th|
|00001580| 65 6e 20 69 74 20 77 69 | 6c 6c 20 62 65 20 76 69 |en it wi|ll be vi|
|00001590| 65 77 65 64 20 69 6e 73 | 74 65 61 64 20 6f 66 0a |ewed ins|tead of.|
|000015a0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 63 72 |automati|cally cr|
|000015b0| 65 61 74 69 6e 67 20 74 | 68 65 20 64 69 72 65 63 |eating t|he direc|
|000015c0| 74 6f 72 79 20 6c 69 73 | 74 69 6e 67 2e 22 29 0a |tory lis|ting.").|
|000015d0| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 70 67 70 2f |(defvar |url-pgp/|
|000015e0| 70 65 6d 2d 65 6e 74 69 | 74 79 20 6e 69 6c 20 22 |pem-enti|ty nil "|
|000015f0| 5c 0a 2a 54 68 65 20 75 | 73 65 72 73 20 50 47 50 |\.*The u|sers PGP|
|00001600| 2f 50 45 4d 20 69 64 20 | 2d 20 75 73 75 61 6c 6c |/PEM id |- usuall|
|00001610| 79 20 74 68 65 69 72 20 | 65 6d 61 69 6c 20 61 64 |y their |email ad|
|00001620| 64 72 65 73 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |dress.")|.(defvar|
|00001630| 20 75 72 6c 2d 70 72 69 | 76 61 63 79 2d 6c 65 76 | url-pri|vacy-lev|
|00001640| 65 6c 20 27 6e 6f 6e 65 | 20 22 5c 0a 2a 48 6f 77 |el 'none| "\.*How|
|00001650| 20 70 72 69 76 61 74 65 | 20 79 6f 75 20 77 61 6e | private| you wan|
|00001660| 74 20 79 6f 75 72 20 72 | 65 71 75 65 73 74 73 20 |t your r|equests |
|00001670| 74 6f 20 62 65 2e 0a 48 | 54 54 50 2f 31 2e 30 20 |to be..H|TTP/1.0 |
|00001680| 68 61 73 20 68 65 61 64 | 65 72 20 66 69 65 6c 64 |has head|er field|
|00001690| 73 20 66 6f 72 20 76 61 | 72 69 6f 75 73 20 69 6e |s for va|rious in|
|000016a0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|000016b0| 74 68 65 20 75 73 65 72 | 2c 20 69 6e 63 6c 75 64 |the user|, includ|
|000016c0| 69 6e 67 0a 6f 70 65 72 | 61 74 69 6e 67 20 73 79 |ing.oper|ating sy|
|000016d0| 73 74 65 6d 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |stem inf|ormation|
|000016e0| 2c 20 65 6d 61 69 6c 20 | 61 64 64 72 65 73 73 65 |, email |addresse|
|000016f0| 73 2c 20 74 68 65 20 6c | 61 73 74 20 70 61 67 65 |s, the l|ast page|
|00001700| 20 79 6f 75 20 76 69 73 | 69 74 65 64 2c 20 65 74 | you vis|ited, et|
|00001710| 63 2e 0a 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |c..This |variable|
|00001720| 20 63 6f 6e 74 72 6f 6c | 73 20 68 6f 77 20 6d 75 | control|s how mu|
|00001730| 63 68 20 6f 66 20 74 68 | 69 73 20 69 6e 66 6f 72 |ch of th|is infor|
|00001740| 6d 61 74 69 6f 6e 20 69 | 73 20 73 65 6e 74 2e 0a |mation i|s sent..|
|00001750| 0a 54 68 69 73 20 73 68 | 6f 75 6c 64 20 61 20 73 |.This sh|ould a s|
|00001760| 79 6d 62 6f 6c 20 6f 72 | 20 61 20 6c 69 73 74 2e |ymbol or| a list.|
|00001770| 0a 56 61 6c 69 64 20 76 | 61 6c 75 65 73 20 69 66 |.Valid v|alues if|
|00001780| 20 61 20 73 79 6d 62 6f | 6c 20 61 72 65 3a 0a 6e | a symbo|l are:.n|
|00001790| 6f 6e 65 20 20 20 20 20 | 2d 2d 20 53 65 6e 64 20 |one |-- Send |
|000017a0| 61 6c 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0a |all info|rmation.|
|000017b0| 6c 6f 77 20 20 20 20 20 | 20 2d 2d 20 44 6f 6e 27 |low | -- Don'|
|000017c0| 74 20 73 65 6e 64 20 74 | 68 65 20 6c 61 73 74 20 |t send t|he last |
|000017d0| 6c 6f 63 61 74 69 6f 6e | 0a 68 69 67 68 20 20 20 |location|.high |
|000017e0| 20 20 2d 2d 20 44 6f 6e | 27 74 20 73 65 6e 64 20 | -- Don|'t send |
|000017f0| 74 68 65 20 65 6d 61 69 | 6c 20 61 64 64 72 65 73 |the emai|l addres|
|00001800| 73 20 6f 72 20 6c 61 73 | 74 20 6c 6f 63 61 74 69 |s or las|t locati|
|00001810| 6f 6e 0a 70 61 72 61 6e | 6f 69 64 20 2d 2d 20 44 |on.paran|oid -- D|
|00001820| 6f 6e 27 74 20 73 65 6e | 64 20 61 6e 79 74 68 69 |on't sen|d anythi|
|00001830| 6e 67 0a 0a 49 66 20 61 | 20 6c 69 73 74 2c 20 74 |ng..If a| list, t|
|00001840| 68 69 73 20 73 68 6f 75 | 6c 64 20 62 65 20 61 20 |his shou|ld be a |
|00001850| 6c 69 73 74 20 6f 66 20 | 73 79 6d 62 6f 6c 73 20 |list of |symbols |
|00001860| 6f 66 20 77 68 61 74 20 | 4e 4f 54 20 74 6f 20 73 |of what |NOT to s|
|00001870| 65 6e 64 2e 0a 56 61 6c | 69 64 20 73 79 6d 62 6f |end..Val|id symbo|
|00001880| 6c 73 20 61 72 65 3a 0a | 65 6d 61 69 6c 20 20 20 |ls are:.|email |
|00001890| 20 2d 2d 20 74 68 65 20 | 65 6d 61 69 6c 20 61 64 | -- the |email ad|
|000018a0| 64 72 65 73 73 0a 6f 73 | 20 20 20 20 20 20 20 2d |dress.os| -|
|000018b0| 2d 20 74 68 65 20 6f 70 | 65 72 61 74 69 6e 67 20 |- the op|erating |
|000018c0| 73 79 73 74 65 6d 20 69 | 6e 66 6f 0a 6c 61 73 74 |system i|nfo.last|
|000018d0| 6c 6f 63 20 20 2d 2d 20 | 74 68 65 20 6c 61 73 74 |loc -- |the last|
|000018e0| 20 6c 6f 63 61 74 69 6f | 6e 0a 0a 53 61 6d 70 6c | locatio|n..Sampl|
|000018f0| 65 73 3a 0a 0a 28 73 65 | 74 71 20 75 72 6c 2d 70 |es:..(se|tq url-p|
|00001900| 72 69 76 61 63 79 2d 6c | 65 76 65 6c 20 27 68 69 |rivacy-l|evel 'hi|
|00001910| 67 68 29 0a 28 73 65 74 | 71 20 75 72 6c 2d 70 72 |gh).(set|q url-pr|
|00001920| 69 76 61 63 79 2d 6c 65 | 76 65 6c 20 27 28 6f 73 |ivacy-le|vel '(os|
|00001930| 20 6c 61 73 74 6c 6f 63 | 29 29 20 20 20 20 3b 3b | lastloc|)) ;;|
|00001940| 20 65 71 75 69 76 61 6c | 65 6e 74 20 74 6f 20 27 | equival|ent to '|
|00001950| 68 69 67 68 0a 28 73 65 | 74 71 20 75 72 6c 2d 70 |high.(se|tq url-p|
|00001960| 72 69 76 61 63 79 2d 6c | 65 76 65 6c 20 27 28 6f |rivacy-l|evel '(o|
|00001970| 73 29 29 0a 22 29 0a 28 | 64 65 66 76 61 72 20 75 |s)).").(|defvar u|
|00001980| 72 6c 2d 75 75 64 65 63 | 6f 64 65 2d 70 72 6f 67 |rl-uudec|ode-prog|
|00001990| 72 61 6d 20 22 75 75 64 | 65 63 6f 64 65 22 20 22 |ram "uud|ecode" "|
|000019a0| 5c 0a 2a 54 68 65 20 55 | 55 64 65 63 6f 64 65 20 |\.*The U|Udecode |
|000019b0| 65 78 65 63 75 74 61 62 | 6c 65 2e 22 29 0a 28 64 |executab|le.").(d|
|000019c0| 65 66 76 61 72 20 75 72 | 6c 2d 75 75 65 6e 63 6f |efvar ur|l-uuenco|
|000019d0| 64 65 2d 70 72 6f 67 72 | 61 6d 20 22 75 75 65 6e |de-progr|am "uuen|
|000019e0| 63 6f 64 65 22 20 22 5c | 0a 2a 54 68 65 20 55 55 |code" "\|.*The UU|
|000019f0| 65 6e 63 6f 64 65 20 65 | 78 65 63 75 74 61 62 6c |encode e|xecutabl|
|00001a00| 65 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |e.").(de|fvar url|
|00001a10| 2d 68 69 73 74 6f 72 79 | 2d 6c 69 73 74 20 6e 69 |-history|-list ni|
|00001a20| 6c 20 22 5c 0a 4c 69 73 | 74 20 6f 66 20 75 72 6c |l "\.Lis|t of url|
|00001a30| 73 20 76 69 73 69 74 65 | 64 20 74 68 69 73 20 73 |s visite|d this s|
|00001a40| 65 73 73 69 6f 6e 2e 22 | 29 0a 28 64 65 66 76 61 |ession."|).(defva|
|00001a50| 72 20 75 72 6c 2d 69 6e | 68 69 62 69 74 2d 75 6e |r url-in|hibit-un|
|00001a60| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 20 6e 69 6c 20 |compress|ion nil |
|00001a70| 22 5c 0a 44 6f 20 64 65 | 63 6f 6d 70 72 65 73 73 |"\.Do de|compress|
|00001a80| 69 6f 6e 20 69 66 20 6e | 6f 6e 2d 6e 69 6c 2e 22 |ion if n|on-nil."|
|00001a90| 29 0a 28 64 65 66 76 61 | 72 20 75 72 6c 2d 6b 65 |).(defva|r url-ke|
|00001aa0| 65 70 2d 68 69 73 74 6f | 72 79 20 6e 69 6c 20 22 |ep-histo|ry nil "|
|00001ab0| 5c 0a 2a 43 6f 6e 74 72 | 6f 6c 73 20 77 68 65 74 |\.*Contr|ols whet|
|00001ac0| 68 65 72 20 74 6f 20 6b | 65 65 70 20 61 20 6c 69 |her to k|eep a li|
|00001ad0| 73 74 20 6f 66 20 61 6c | 6c 20 74 68 65 20 55 52 |st of al|l the UR|
|00001ae0| 4c 53 20 62 65 69 6e 67 | 20 76 69 73 69 74 65 64 |LS being| visited|
|00001af0| 2e 20 20 49 66 0a 6e 6f | 6e 2d 6e 69 6c 2c 20 75 |. If.no|n-nil, u|
|00001b00| 72 6c 20 77 69 6c 6c 20 | 6b 65 65 70 20 74 72 61 |rl will |keep tra|
|00001b10| 63 6b 20 6f 66 20 61 6c | 6c 20 74 68 65 20 55 52 |ck of al|l the UR|
|00001b20| 4c 53 20 76 69 73 69 74 | 65 64 2e 0a 49 66 20 65 |LS visit|ed..If e|
|00001b30| 71 20 74 6f 20 60 74 27 | 2c 20 74 68 65 6e 20 74 |q to `t'|, then t|
|00001b40| 68 65 20 6c 69 73 74 20 | 69 73 20 73 61 76 65 64 |he list |is saved|
|00001b50| 20 74 6f 20 64 69 73 6b | 20 61 74 20 74 68 65 20 | to disk| at the |
|00001b60| 65 6e 64 20 6f 66 20 65 | 61 63 68 20 65 6d 61 63 |end of e|ach emac|
|00001b70| 73 0a 73 65 73 73 69 6f | 6e 2e 22 29 0a 28 64 65 |s.sessio|n.").(de|
|00001b80| 66 76 61 72 20 75 72 6c | 2d 75 6e 63 6f 6d 70 72 |fvar url|-uncompr|
|00001b90| 65 73 73 6f 72 2d 61 6c | 69 73 74 20 27 28 28 22 |essor-al|ist '(("|
|00001ba0| 2e 7a 22 20 2e 20 22 78 | 2d 67 7a 69 70 22 29 20 |.z" . "x|-gzip") |
|00001bb0| 28 22 2e 67 7a 22 20 2e | 20 22 78 2d 67 7a 69 70 |(".gz" .| "x-gzip|
|00001bc0| 22 29 20 28 22 2e 75 75 | 65 22 20 2e 20 22 78 2d |") (".uu|e" . "x-|
|00001bd0| 75 75 65 6e 63 6f 64 65 | 64 22 29 20 28 22 2e 68 |uuencode|d") (".h|
|00001be0| 71 78 22 20 2e 20 22 78 | 2d 68 71 78 22 29 20 28 |qx" . "x|-hqx") (|
|00001bf0| 22 2e 5a 22 20 2e 20 22 | 78 2d 63 6f 6d 70 72 65 |".Z" . "|x-compre|
|00001c00| 73 73 22 29 29 20 22 5c | 0a 2a 41 6e 20 61 73 73 |ss")) "\|.*An ass|
|00001c10| 6f 63 20 6c 69 73 74 20 | 6f 66 20 66 69 6c 65 20 |oc list |of file |
|00001c20| 65 78 74 65 6e 73 69 6f | 6e 73 20 61 6e 64 20 74 |extensio|ns and t|
|00001c30| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 75 |he appro|priate u|
|00001c40| 6e 63 6f 6d 70 72 65 73 | 73 69 6f 6e 0a 70 72 6f |ncompres|sion.pro|
|00001c50| 67 72 61 6d 73 20 66 6f | 72 20 65 61 63 68 2e 22 |grams fo|r each."|
|00001c60| 29 0a 28 64 65 66 76 61 | 72 20 75 72 6c 2d 78 74 |).(defva|r url-xt|
|00001c70| 65 72 6d 2d 63 6f 6d 6d | 61 6e 64 20 22 78 74 65 |erm-comm|and "xte|
|00001c80| 72 6d 20 2d 74 69 74 6c | 65 20 25 73 20 2d 75 74 |rm -titl|e %s -ut|
|00001c90| 20 2d 65 20 25 73 20 25 | 73 20 25 73 22 20 22 5c | -e %s %|s %s" "\|
|00001ca0| 0a 2a 43 6f 6d 6d 61 6e | 64 20 75 73 65 64 20 74 |.*Comman|d used t|
|00001cb0| 6f 20 73 74 61 72 74 20 | 61 6e 20 78 74 65 72 6d |o start |an xterm|
|00001cc0| 20 77 69 6e 64 6f 77 2e | 22 29 0a 28 64 65 66 76 | window.|").(defv|
|00001cd0| 61 72 20 75 72 6c 2d 74 | 6e 33 32 37 30 2d 65 6d |ar url-t|n3270-em|
|00001ce0| 75 6c 61 74 6f 72 20 22 | 74 6e 33 32 37 30 22 20 |ulator "|tn3270" |
|00001cf0| 22 5c 0a 54 68 65 20 63 | 6c 69 65 6e 74 20 74 6f |"\.The c|lient to|
|00001d00| 20 72 75 6e 20 69 6e 20 | 61 20 73 75 62 70 72 6f | run in |a subpro|
|00001d10| 63 65 73 73 20 74 6f 20 | 63 6f 6e 6e 65 63 74 20 |cess to |connect |
|00001d20| 74 6f 20 61 20 74 6e 33 | 32 37 30 20 6d 61 63 68 |to a tn3|270 mach|
|00001d30| 69 6e 65 2e 22 29 0a 28 | 64 65 66 76 61 72 20 75 |ine.").(|defvar u|
|00001d40| 72 6c 2d 75 73 65 2d 74 | 72 61 6e 73 70 61 72 65 |rl-use-t|ranspare|
|00001d50| 6e 74 20 6e 69 6c 20 22 | 5c 0a 2a 57 68 65 74 68 |nt nil "|\.*Wheth|
|00001d60| 65 72 20 74 6f 20 75 73 | 65 20 74 68 65 20 74 72 |er to us|e the tr|
|00001d70| 61 6e 73 70 61 72 65 6e | 74 20 70 61 63 6b 61 67 |ansparen|t packag|
|00001d80| 65 20 62 79 20 42 72 69 | 61 6e 20 54 6f 6d 70 73 |e by Bri|an Tomps|
|00001d90| 65 74 74 20 69 6e 73 74 | 65 61 64 20 6f 66 0a 74 |ett inst|ead of.t|
|00001da0| 68 65 20 62 75 69 6c 74 | 69 6e 20 74 65 6c 6e 65 |he built|in telne|
|00001db0| 74 20 66 75 6e 63 74 69 | 6f 6e 73 2e 20 20 55 73 |t functi|ons. Us|
|00001dc0| 69 6e 67 20 74 72 61 6e | 73 70 61 72 65 6e 74 20 |ing tran|sparent |
|00001dd0| 61 6c 6c 6f 77 73 20 79 | 6f 75 20 74 6f 20 68 61 |allows y|ou to ha|
|00001de0| 76 65 20 66 75 6c 6c 0a | 76 74 31 30 30 20 65 6d |ve full.|vt100 em|
|00001df0| 75 6c 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 74 |ulation |in the t|
|00001e00| 65 6c 6e 65 74 20 61 6e | 64 20 74 6e 33 32 37 30 |elnet an|d tn3270|
|00001e10| 20 6c 69 6e 6b 73 2e 22 | 29 0a 28 64 65 66 76 61 | links."|).(defva|
|00001e20| 72 20 75 72 6c 2d 6d 61 | 69 6c 2d 63 6f 6d 6d 61 |r url-ma|il-comma|
|00001e30| 6e 64 20 27 6d 61 69 6c | 20 22 5c 0a 2a 54 68 69 |nd 'mail| "\.*Thi|
|00001e40| 73 20 66 75 6e 63 74 69 | 6f 6e 20 77 69 6c 6c 20 |s functi|on will |
|00001e50| 62 65 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 65 76 |be calle|d whenev|
|00001e60| 65 72 20 75 72 6c 20 6e | 65 65 64 73 20 74 6f 20 |er url n|eeds to |
|00001e70| 73 65 6e 64 20 6d 61 69 | 6c 2e 20 20 49 74 20 73 |send mai|l. It s|
|00001e80| 68 6f 75 6c 64 0a 65 6e | 74 65 72 20 61 20 6d 61 |hould.en|ter a ma|
|00001e90| 69 6c 2d 6d 6f 64 65 2d | 6c 69 6b 65 20 62 75 66 |il-mode-|like buf|
|00001ea0| 66 65 72 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |fer in t|he curre|
|00001eb0| 6e 74 20 77 69 6e 64 6f | 77 2e 0a 54 68 65 20 63 |nt windo|w..The c|
|00001ec0| 6f 6d 6d 61 6e 64 73 20 | 6d 61 69 6c 2d 74 6f 20 |ommands |mail-to |
|00001ed0| 61 6e 64 20 6d 61 69 6c | 2d 73 75 62 6a 65 63 74 |and mail|-subject|
|00001ee0| 20 73 68 6f 75 6c 64 20 | 73 74 69 6c 6c 20 77 6f | should |still wo|
|00001ef0| 72 6b 20 69 6e 20 74 68 | 69 73 0a 62 75 66 66 65 |rk in th|is.buffe|
|00001f00| 72 2c 20 61 6e 64 20 69 | 74 20 73 68 6f 75 6c 64 |r, and i|t should|
|00001f10| 20 75 73 65 20 6d 61 69 | 6c 2d 68 65 61 64 65 72 | use mai|l-header|
|00001f20| 2d 73 65 70 61 72 61 74 | 6f 72 20 69 66 20 70 6f |-separat|or if po|
|00001f30| 73 73 69 62 6c 65 2e 22 | 29 0a 28 64 65 66 76 61 |ssible."|).(defva|
|00001f40| 72 20 75 72 6c 2d 6c 6f | 63 61 6c 2d 65 78 65 63 |r url-lo|cal-exec|
|00001f50| 2d 70 61 74 68 20 6e 69 | 6c 20 22 5c 0a 2a 41 20 |-path ni|l "\.*A |
|00001f60| 6c 69 73 74 20 6f 66 20 | 70 6f 73 73 69 62 6c 65 |list of |possible|
|00001f70| 20 6c 6f 63 61 74 69 6f | 6e 73 20 66 6f 72 20 78 | locatio|ns for x|
|00001f80| 2d 65 78 65 63 20 73 63 | 72 69 70 74 73 2e 22 29 |-exec sc|ripts.")|
|00001f90| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 70 72 6f |.(defvar| url-pro|
|00001fa0| 78 79 2d 73 65 72 76 69 | 63 65 73 20 6e 69 6c 20 |xy-servi|ces nil |
|00001fb0| 22 5c 0a 2a 41 6e 20 61 | 73 73 6f 63 20 6c 69 73 |"\.*An a|ssoc lis|
|00001fc0| 74 20 6f 66 20 61 63 63 | 65 73 73 20 74 79 70 65 |t of acc|ess type|
|00001fd0| 73 20 61 6e 64 20 73 65 | 72 76 65 72 73 20 74 68 |s and se|rvers th|
|00001fe0| 61 74 20 67 61 74 65 77 | 61 79 20 74 68 65 6d 2e |at gatew|ay them.|
|00001ff0| 0a 4c 6f 6f 6b 73 20 6c | 69 6b 65 20 28 28 5c 22 |.Looks l|ike ((\"|
|00002000| 68 74 74 70 5c 22 20 2e | 20 5c 22 75 72 6c 3a 2f |http\" .| \"url:/|
|00002010| 2f 66 6f 72 2f 70 72 6f | 78 79 2f 73 65 72 76 65 |/for/pro|xy/serve|
|00002020| 72 2f 5c 22 29 20 2e 2e | 2e 2e 29 20 20 54 68 69 |r/\") ..|..) Thi|
|00002030| 73 20 69 73 20 73 65 74 | 20 75 70 0a 66 72 6f 6d |s is set| up.from|
|00002040| 20 74 68 65 20 41 43 43 | 45 53 53 5f 70 72 6f 78 | the ACC|ESS_prox|
|00002050| 79 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |y enviro|nment va|
|00002060| 72 69 61 62 6c 65 73 20 | 69 6e 20 75 72 6c 2d 64 |riables |in url-d|
|00002070| 6f 2d 73 65 74 75 70 2e | 22 29 0a 28 64 65 66 76 |o-setup.|").(defv|
|00002080| 61 72 20 75 72 6c 2d 67 | 6c 6f 62 61 6c 2d 68 69 |ar url-g|lobal-hi|
|00002090| 73 74 6f 72 79 2d 66 69 | 6c 65 20 6e 69 6c 20 22 |story-fi|le nil "|
|000020a0| 5c 0a 2a 54 68 65 20 67 | 6c 6f 62 61 6c 20 68 69 |\.*The g|lobal hi|
|000020b0| 73 74 6f 72 79 20 66 69 | 6c 65 20 75 73 65 64 20 |story fi|le used |
|000020c0| 62 79 20 62 6f 74 68 20 | 4d 6f 73 61 69 63 2f 58 |by both |Mosaic/X|
|000020d0| 20 61 6e 64 20 74 68 65 | 20 75 72 6c 20 70 61 63 | and the| url pac|
|000020e0| 6b 61 67 65 2e 0a 54 68 | 69 73 20 66 69 6c 65 20 |kage..Th|is file |
|000020f0| 63 6f 6e 74 61 69 6e 73 | 20 61 20 6c 69 73 74 20 |contains| a list |
|00002100| 6f 66 20 61 6c 6c 20 74 | 68 65 20 55 52 4c 73 20 |of all t|he URLs |
|00002110| 79 6f 75 20 68 61 76 65 | 20 76 69 73 69 74 65 64 |you have| visited|
|00002120| 2e 20 20 54 68 69 73 20 | 66 69 6c 65 0a 69 73 20 |. This |file.is |
|00002130| 70 61 72 73 65 64 20 61 | 74 20 73 74 61 72 74 75 |parsed a|t startu|
|00002140| 70 20 61 6e 64 20 75 73 | 65 64 20 74 6f 20 70 72 |p and us|ed to pr|
|00002150| 6f 76 69 64 65 20 55 52 | 4c 20 63 6f 6d 70 6c 65 |ovide UR|L comple|
|00002160| 74 69 6f 6e 2e 22 29 0a | 28 64 65 66 76 61 72 20 |tion.").|(defvar |
|00002170| 75 72 6c 2d 70 61 73 73 | 77 64 2d 65 6e 74 72 79 |url-pass|wd-entry|
|00002180| 2d 66 75 6e 63 20 6e 69 | 6c 20 22 5c 0a 2a 54 68 |-func ni|l "\.*Th|
|00002190| 69 73 20 69 73 20 61 20 | 73 79 6d 62 6f 6c 20 69 |is is a |symbol i|
|000021a0| 6e 64 69 63 61 74 69 6e | 67 20 77 68 69 63 68 20 |ndicatin|g which |
|000021b0| 66 75 6e 63 74 69 6f 6e | 20 74 6f 20 63 61 6c 6c |function| to call|
|000021c0| 20 74 6f 20 72 65 61 64 | 20 69 6e 20 61 0a 70 61 | to read| in a.pa|
|000021d0| 73 73 77 6f 72 64 2e 20 | 20 49 74 20 77 69 6c 6c |ssword. | It will|
|000021e0| 20 62 65 20 73 65 74 20 | 75 70 20 64 65 70 65 6e | be set |up depen|
|000021f0| 64 69 6e 67 20 6f 6e 20 | 77 68 65 74 68 65 72 20 |ding on |whether |
|00002200| 79 6f 75 20 61 72 65 20 | 72 75 6e 6e 69 6e 67 20 |you are |running |
|00002210| 45 46 53 0a 6f 72 20 61 | 6e 67 65 2d 66 74 70 20 |EFS.or a|nge-ftp |
|00002220| 61 74 20 73 74 61 72 74 | 75 70 20 69 66 20 69 74 |at start|up if it|
|00002230| 20 69 73 20 6e 69 6c 2e | 20 20 54 68 69 73 20 66 | is nil.| This f|
|00002240| 75 6e 63 74 69 6f 6e 20 | 73 68 6f 75 6c 64 20 61 |unction |should a|
|00002250| 63 63 65 70 74 20 74 68 | 65 0a 70 72 6f 6d 70 74 |ccept th|e.prompt|
|00002260| 20 73 74 72 69 6e 67 20 | 61 73 20 69 74 73 20 66 | string |as its f|
|00002270| 69 72 73 74 20 61 72 67 | 75 6d 65 6e 74 2c 20 61 |irst arg|ument, a|
|00002280| 6e 64 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 76 |nd the d|efault v|
|00002290| 61 6c 75 65 20 61 73 20 | 69 74 73 0a 73 65 63 6f |alue as |its.seco|
|000022a0| 6e 64 20 61 72 67 75 6d | 65 6e 74 2e 22 29 0a 28 |nd argum|ent.").(|
|000022b0| 64 65 66 76 61 72 20 75 | 72 6c 2d 67 6f 70 68 65 |defvar u|rl-gophe|
|000022c0| 72 2d 6c 61 62 65 6c 73 | 20 27 28 28 22 30 22 20 |r-labels| '(("0" |
|000022d0| 2e 20 22 28 54 58 54 29 | 22 29 20 28 22 31 22 20 |. "(TXT)|") ("1" |
|000022e0| 2e 20 22 28 44 49 52 29 | 22 29 20 28 22 32 22 20 |. "(DIR)|") ("2" |
|000022f0| 2e 20 22 28 43 53 4f 29 | 22 29 20 28 22 33 22 20 |. "(CSO)|") ("3" |
|00002300| 2e 20 22 28 45 52 52 29 | 22 29 20 28 22 34 22 20 |. "(ERR)|") ("4" |
|00002310| 2e 20 22 28 4d 41 43 29 | 22 29 20 28 22 35 22 20 |. "(MAC)|") ("5" |
|00002320| 2e 20 22 28 50 43 42 29 | 22 29 20 28 22 36 22 20 |. "(PCB)|") ("6" |
|00002330| 2e 20 22 28 55 55 58 29 | 22 29 20 28 22 37 22 20 |. "(UUX)|") ("7" |
|00002340| 2e 20 22 28 3f 3f 3f 29 | 22 29 20 28 22 38 22 20 |. "(???)|") ("8" |
|00002350| 2e 20 22 28 54 45 4c 29 | 22 29 20 28 22 54 22 20 |. "(TEL)|") ("T" |
|00002360| 2e 20 22 28 54 4e 33 29 | 22 29 20 28 22 39 22 20 |. "(TN3)|") ("9" |
|00002370| 2e 20 22 28 42 49 4e 29 | 22 29 20 28 22 67 22 20 |. "(BIN)|") ("g" |
|00002380| 2e 20 22 28 47 49 46 29 | 22 29 20 28 22 49 22 20 |. "(GIF)|") ("I" |
|00002390| 2e 20 22 28 49 4d 47 29 | 22 29 20 28 22 68 22 20 |. "(IMG)|") ("h" |
|000023a0| 2e 20 22 28 57 57 57 29 | 22 29 20 28 22 73 22 20 |. "(WWW)|") ("s" |
|000023b0| 2e 20 22 28 53 4e 44 29 | 22 29 29 20 22 5c 0a 2a |. "(SND)|")) "\.*|
|000023c0| 41 6e 20 61 73 73 6f 63 | 20 6c 69 73 74 20 6f 66 |An assoc| list of|
|000023d0| 20 67 6f 70 68 65 72 20 | 74 79 70 65 73 20 61 6e | gopher |types an|
|000023e0| 64 20 68 6f 77 20 74 6f | 20 64 65 73 63 72 69 62 |d how to| describ|
|000023f0| 65 20 74 68 65 6d 20 69 | 6e 20 74 68 65 20 67 6f |e them i|n the go|
|00002400| 70 68 65 72 0a 6d 65 6e | 75 73 2e 20 20 54 68 65 |pher.men|us. The|
|00002410| 73 65 20 63 61 6e 20 62 | 65 20 61 6e 79 20 73 74 |se can b|e any st|
|00002420| 72 69 6e 67 2c 20 62 75 | 74 20 48 54 4d 4c 2f 48 |ring, bu|t HTML/H|
|00002430| 54 4d 4c 2b 20 65 6e 74 | 69 74 69 65 73 20 73 68 |TML+ ent|ities sh|
|00002440| 6f 75 6c 64 20 62 65 0a | 75 73 65 64 20 77 68 65 |ould be.|used whe|
|00002450| 6e 20 6e 65 63 65 73 73 | 61 72 79 2c 20 6f 72 20 |n necess|ary, or |
|00002460| 69 74 20 63 6f 75 6c 64 | 20 64 69 73 72 75 70 74 |it could| disrupt|
|00002470| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 6f 66 20 74 | formatt|ing of t|
|00002480| 68 65 20 64 6f 63 75 6d | 65 6e 74 0a 6c 61 74 65 |he docum|ent.late|
|00002490| 72 20 6f 6e 2e 20 20 49 | 74 20 69 73 20 61 6c 73 |r on. I|t is als|
|000024a0| 6f 20 61 20 67 6f 6f 64 | 20 69 64 65 61 20 74 6f |o a good| idea to|
|000024b0| 20 6d 61 6b 65 20 73 75 | 72 65 20 61 6c 6c 20 74 | make su|re all t|
|000024c0| 68 65 20 73 74 72 69 6e | 67 73 20 61 72 65 20 74 |he strin|gs are t|
|000024d0| 68 65 0a 73 61 6d 65 20 | 6c 65 6e 67 74 68 20 61 |he.same |length a|
|000024e0| 66 74 65 72 20 65 6e 74 | 69 74 79 20 72 65 66 65 |fter ent|ity refe|
|000024f0| 72 65 6e 63 65 73 20 61 | 72 65 20 72 65 6d 6f 76 |rences a|re remov|
|00002500| 65 64 2c 20 6f 6e 20 61 | 20 73 74 72 69 63 74 6c |ed, on a| strictl|
|00002510| 79 0a 73 74 79 6c 69 73 | 74 69 63 20 6c 65 76 65 |y.stylis|tic leve|
|00002520| 6c 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |l.").(de|fvar url|
|00002530| 2d 67 6f 70 68 65 72 2d | 69 63 6f 6e 73 20 27 28 |-gopher-|icons '(|
|00002540| 28 22 30 22 20 2e 20 22 | 26 74 65 78 74 2e 64 6f |("0" . "|&text.do|
|00002550| 63 75 6d 65 6e 74 3b 22 | 29 20 28 22 31 22 20 2e |cument;"|) ("1" .|
|00002560| 20 22 26 66 6f 6c 64 65 | 72 3b 22 29 20 28 22 32 | "&folde|r;") ("2|
|00002570| 22 20 2e 20 22 26 69 6e | 64 65 78 3b 22 29 20 28 |" . "&in|dex;") (|
|00002580| 22 33 22 20 2e 20 22 26 | 73 74 6f 70 3b 22 29 20 |"3" . "&|stop;") |
|00002590| 28 22 34 22 20 2e 20 22 | 26 62 69 6e 68 65 78 2e |("4" . "|&binhex.|
|000025a0| 64 6f 63 75 6d 65 6e 74 | 3b 22 29 20 28 22 35 22 |document|;") ("5"|
|000025b0| 20 2e 20 22 26 62 69 6e | 68 65 78 2e 64 6f 63 75 | . "&bin|hex.docu|
|000025c0| 6d 65 6e 74 3b 22 29 20 | 28 22 36 22 20 2e 20 22 |ment;") |("6" . "|
|000025d0| 26 75 75 65 6e 63 6f 64 | 65 64 2e 64 6f 63 75 6d |&uuencod|ed.docum|
|000025e0| 65 6e 74 3b 22 29 20 28 | 22 37 22 20 2e 20 22 26 |ent;") (|"7" . "&|
|000025f0| 69 6e 64 65 78 3b 22 29 | 20 28 22 38 22 20 2e 20 |index;")| ("8" . |
|00002600| 22 26 74 65 6c 6e 65 74 | 3b 22 29 20 28 22 54 22 |"&telnet|;") ("T"|
|00002610| 20 2e 20 22 26 74 6e 33 | 32 37 30 3b 22 29 20 28 | . "&tn3|270;") (|
|00002620| 22 39 22 20 2e 20 22 26 | 62 69 6e 61 72 79 2e 64 |"9" . "&|binary.d|
|00002630| 6f 63 75 6d 65 6e 74 3b | 22 29 20 28 22 67 22 20 |ocument;|") ("g" |
|00002640| 2e 20 22 26 69 6d 61 67 | 65 3b 22 29 20 28 22 49 |. "&imag|e;") ("I|
|00002650| 22 20 2e 20 22 26 69 6d | 61 67 65 3b 22 29 20 28 |" . "&im|age;") (|
|00002660| 22 73 22 20 2e 20 22 26 | 61 75 64 69 6f 3b 22 29 |"s" . "&|audio;")|
|00002670| 29 20 22 5c 0a 2a 41 6e | 20 61 73 73 6f 63 20 6c |) "\.*An| assoc l|
|00002680| 69 73 74 20 6f 66 20 67 | 6f 70 68 65 72 20 74 79 |ist of g|opher ty|
|00002690| 70 65 73 20 61 6e 64 20 | 74 68 65 20 67 72 61 70 |pes and |the grap|
|000026a0| 68 69 63 20 65 6e 74 69 | 74 79 20 72 65 66 65 72 |hic enti|ty refer|
|000026b0| 65 6e 63 65 73 20 74 6f | 0a 73 68 6f 77 20 77 68 |ences to|.show wh|
|000026c0| 65 6e 20 70 6f 73 73 69 | 62 6c 65 2e 22 29 0a 28 |en possi|ble.").(|
|000026d0| 64 65 66 76 61 72 20 75 | 72 6c 2d 73 74 61 6e 64 |defvar u|rl-stand|
|000026e0| 61 6c 6f 6e 65 2d 6d 6f | 64 65 20 6e 69 6c 20 22 |alone-mo|de nil "|
|000026f0| 5c 0a 2a 52 65 6c 79 20 | 73 6f 6c 65 6c 79 20 6f |\.*Rely |solely o|
|00002700| 6e 20 74 68 65 20 63 61 | 63 68 65 3f 22 29 0a 28 |n the ca|che?").(|
|00002710| 64 65 66 76 61 72 20 75 | 72 6c 2d 77 6f 72 6b 69 |defvar u|rl-worki|
|00002720| 6e 67 2d 62 75 66 66 65 | 72 20 22 20 2a 55 52 4c |ng-buffe|r " *URL|
|00002730| 2a 22 20 22 5c 0a 54 68 | 65 20 62 75 66 66 65 72 |*" "\.Th|e buffer|
|00002740| 20 74 6f 20 64 6f 20 61 | 6c 6c 20 74 68 65 20 70 | to do a|ll the p|
|00002750| 72 6f 63 65 73 73 69 6e | 67 20 69 6e 2e 22 29 0a |rocessin|g in.").|
|00002760| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 63 75 72 72 |(defvar |url-curr|
|00002770| 65 6e 74 2d 61 6e 6e 6f | 74 61 74 69 6f 6e 20 6e |ent-anno|tation n|
|00002780| 69 6c 20 22 5c 0a 55 52 | 4c 20 6f 66 20 64 6f 63 |il "\.UR|L of doc|
|00002790| 75 6d 65 6e 74 20 77 65 | 20 61 72 65 20 61 6e 6e |ument we| are ann|
|000027a0| 6f 74 61 74 69 6e 67 2e | 2e 2e 22 29 0a 28 64 65 |otating.|..").(de|
|000027b0| 66 76 61 72 20 75 72 6c | 2d 63 75 72 72 65 6e 74 |fvar url|-current|
|000027c0| 2d 72 65 66 65 72 65 72 | 20 6e 69 6c 20 22 5c 0a |-referer| nil "\.|
|000027d0| 52 65 66 65 72 65 72 20 | 6f 66 20 74 68 69 73 20 |Referer |of this |
|000027e0| 70 61 67 65 2e 22 29 0a | 28 64 65 66 76 61 72 20 |page.").|(defvar |
|000027f0| 75 72 6c 2d 63 75 72 72 | 65 6e 74 2d 63 6f 6e 74 |url-curr|ent-cont|
|00002800| 65 6e 74 2d 6c 65 6e 67 | 74 68 20 6e 69 6c 20 22 |ent-leng|th nil "|
|00002810| 5c 0a 43 75 72 72 65 6e | 74 20 63 6f 6e 74 65 6e |\.Curren|t conten|
|00002820| 74 20 6c 65 6e 67 74 68 | 2e 22 29 0a 28 64 65 66 |t length|.").(def|
|00002830| 76 61 72 20 75 72 6c 2d | 63 75 72 72 65 6e 74 2d |var url-|current-|
|00002840| 66 69 6c 65 20 6e 69 6c | 20 22 5c 0a 46 69 6c 65 |file nil| "\.File|
|00002850| 6e 61 6d 65 20 6f 66 20 | 63 75 72 72 65 6e 74 20 |name of |current |
|00002860| 64 6f 63 75 6d 65 6e 74 | 2e 22 29 0a 28 64 65 66 |document|.").(def|
|00002870| 76 61 72 20 75 72 6c 2d | 63 75 72 72 65 6e 74 2d |var url-|current-|
|00002880| 69 73 69 6e 64 65 78 20 | 6e 69 6c 20 22 5c 0a 49 |isindex |nil "\.I|
|00002890| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 6f |s the cu|rrent do|
|000028a0| 63 75 6d 65 6e 74 20 61 | 20 73 65 61 72 63 68 61 |cument a| searcha|
|000028b0| 62 6c 65 20 69 6e 64 65 | 78 3f 22 29 0a 28 64 65 |ble inde|x?").(de|
|000028c0| 66 76 61 72 20 75 72 6c | 2d 63 75 72 72 65 6e 74 |fvar url|-current|
|000028d0| 2d 6d 69 6d 65 2d 65 6e | 63 6f 64 69 6e 67 20 6e |-mime-en|coding n|
|000028e0| 69 6c 20 22 5c 0a 4d 49 | 4d 45 20 65 6e 63 6f 64 |il "\.MI|ME encod|
|000028f0| 69 6e 67 20 6f 66 20 63 | 75 72 72 65 6e 74 20 64 |ing of c|urrent d|
|00002900| 6f 63 75 6d 65 6e 74 2e | 22 29 0a 28 64 65 66 76 |ocument.|").(defv|
|00002910| 61 72 20 75 72 6c 2d 63 | 75 72 72 65 6e 74 2d 6d |ar url-c|urrent-m|
|00002920| 69 6d 65 2d 68 65 61 64 | 65 72 73 20 6e 69 6c 20 |ime-head|ers nil |
|00002930| 22 5c 0a 41 6e 20 61 6c | 69 73 74 20 6f 66 20 4d |"\.An al|ist of M|
|00002940| 49 4d 45 20 68 65 61 64 | 65 72 73 2e 22 29 0a 28 |IME head|ers.").(|
|00002950| 64 65 66 76 61 72 20 75 | 72 6c 2d 63 75 72 72 65 |defvar u|rl-curre|
|00002960| 6e 74 2d 6d 69 6d 65 2d | 74 79 70 65 20 6e 69 6c |nt-mime-|type nil|
|00002970| 20 22 5c 0a 4d 49 4d 45 | 20 74 79 70 65 20 6f 66 | "\.MIME| type of|
|00002980| 20 63 75 72 72 65 6e 74 | 20 64 6f 63 75 6d 65 6e | current| documen|
|00002990| 74 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |t.").(de|fvar url|
|000029a0| 2d 63 75 72 72 65 6e 74 | 2d 6d 69 6d 65 2d 76 69 |-current|-mime-vi|
|000029b0| 65 77 65 72 20 6e 69 6c | 20 22 5c 0a 48 6f 77 20 |ewer nil| "\.How |
|000029c0| 74 6f 20 76 69 65 77 20 | 74 68 65 20 63 75 72 72 |to view |the curr|
|000029d0| 65 6e 74 20 4d 49 4d 45 | 20 64 6f 63 2e 22 29 0a |ent MIME| doc.").|
|000029e0| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 63 75 72 72 |(defvar |url-curr|
|000029f0| 65 6e 74 2d 6e 6e 74 70 | 2d 73 65 72 76 65 72 20 |ent-nntp|-server |
|00002a00| 6e 69 6c 20 22 5c 0a 57 | 68 61 74 20 6e 6e 74 70 |nil "\.W|hat nntp|
|00002a10| 20 73 65 72 76 65 72 20 | 63 75 72 72 65 6e 74 6c | server |currentl|
|00002a20| 79 20 6f 70 65 6e 65 64 | 2e 22 29 0a 28 64 65 66 |y opened|.").(def|
|00002a30| 76 61 72 20 75 72 6c 2d | 63 75 72 72 65 6e 74 2d |var url-|current-|
|00002a40| 70 61 73 73 77 64 2d 63 | 6f 75 6e 74 20 30 20 22 |passwd-c|ount 0 "|
|00002a50| 5c 0a 48 6f 77 20 6d 61 | 6e 79 20 74 69 6d 65 73 |\.How ma|ny times|
|00002a60| 20 70 61 73 73 77 6f 72 | 64 20 68 61 73 20 66 61 | passwor|d has fa|
|00002a70| 69 6c 65 64 2e 22 29 0a | 28 64 65 66 76 61 72 20 |iled.").|(defvar |
|00002a80| 75 72 6c 2d 63 75 72 72 | 65 6e 74 2d 70 6f 72 74 |url-curr|ent-port|
|00002a90| 20 6e 69 6c 20 22 5c 0a | 50 6f 72 74 20 23 20 6f | nil "\.|Port # o|
|00002aa0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 6f |f the cu|rrent do|
|00002ab0| 63 75 6d 65 6e 74 2e 22 | 29 0a 28 64 65 66 76 61 |cument."|).(defva|
|00002ac0| 72 20 75 72 6c 2d 63 75 | 72 72 65 6e 74 2d 73 65 |r url-cu|rrent-se|
|00002ad0| 72 76 65 72 20 6e 69 6c | 20 22 5c 0a 53 65 72 76 |rver nil| "\.Serv|
|00002ae0| 65 72 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |er of th|e curren|
|00002af0| 74 20 64 6f 63 75 6d 65 | 6e 74 2e 22 29 0a 28 64 |t docume|nt.").(d|
|00002b00| 65 66 76 61 72 20 75 72 | 6c 2d 63 75 72 72 65 6e |efvar ur|l-curren|
|00002b10| 74 2d 75 73 65 72 20 6e | 69 6c 20 22 5c 0a 55 73 |t-user n|il "\.Us|
|00002b20| 65 72 6e 61 6d 65 20 66 | 6f 72 20 66 74 70 20 6c |ername f|or ftp l|
|00002b30| 6f 67 69 6e 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ogin.").|(defvar |
|00002b40| 75 72 6c 2d 63 75 72 72 | 65 6e 74 2d 74 79 70 65 |url-curr|ent-type|
|00002b50| 20 6e 69 6c 20 22 5c 0a | 57 65 20 63 75 72 72 65 | nil "\.|We curre|
|00002b60| 6e 74 6c 79 20 69 6e 20 | 68 74 74 70 20 6f 72 20 |ntly in |http or |
|00002b70| 66 69 6c 65 20 6d 6f 64 | 65 3f 22 29 0a 28 64 65 |file mod|e?").(de|
|00002b80| 66 76 61 72 20 75 72 6c | 2d 67 6f 70 68 65 72 2d |fvar url|-gopher-|
|00002b90| 74 79 70 65 73 20 22 30 | 31 32 33 34 35 36 37 38 |types "0|12345678|
|00002ba0| 39 2b 67 49 54 68 77 73 | 3a 3b 3c 22 20 22 5c 0a |9+gIThws|:;<" "\.|
|00002bb0| 41 20 73 74 72 69 6e 67 | 20 63 6f 6e 74 61 69 6e |A string| contain|
|00002bc0| 69 6e 67 20 63 68 61 72 | 61 63 74 65 72 20 72 65 |ing char|acter re|
|00002bd0| 70 72 65 73 65 6e 74 61 | 74 69 6f 6e 73 20 6f 66 |presenta|tions of|
|00002be0| 20 61 6c 6c 20 74 68 65 | 20 67 6f 70 68 65 72 20 | all the| gopher |
|00002bf0| 74 79 70 65 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |types.")|.(defvar|
|00002c00| 20 75 72 6c 2d 6d 69 6d | 65 2d 73 65 70 61 72 61 | url-mim|e-separa|
|00002c10| 74 6f 72 2d 63 68 61 72 | 73 20 28 62 79 74 65 2d |tor-char|s (byte-|
|00002c20| 63 6f 64 65 20 22 c0 c1 | c2 c3 c4 51 5c 22 87 22 |code "..|...Q\"."|
|00002c30| 20 5b 6d 61 70 63 61 72 | 20 69 64 65 6e 74 69 74 | [mapcar| identit|
|00002c40| 79 20 22 41 42 43 44 45 | 46 47 48 49 4a 4b 4c 4d |y "ABCDE|FGHIJKLM|
|00002c50| 4e 4f 50 51 52 53 54 55 | 56 57 58 59 5a 22 20 22 |NOPQRSTU|VWXYZ" "|
|00002c60| 61 62 63 64 65 66 67 68 | 69 6a 6b 6c 6d 6e 6f 70 |abcdefgh|ijklmnop|
|00002c70| 71 72 73 74 75 76 77 78 | 79 7a 22 20 22 30 31 32 |qrstuvwx|yz" "012|
|00002c80| 33 34 35 36 37 38 39 27 | 28 29 2b 5f 2c 2d 2e 2f |3456789'|()+_,-./|
|00002c90| 3d 3f 22 5d 20 35 29 20 | 22 5c 0a 43 68 61 72 61 |=?"] 5) |"\.Chara|
|00002ca0| 63 74 65 72 73 20 61 6c | 6c 6f 77 61 62 6c 65 20 |cters al|lowable |
|00002cb0| 69 6e 20 61 20 4d 49 4d | 45 20 6d 75 6c 74 69 70 |in a MIM|E multip|
|00002cc0| 61 72 74 20 73 65 70 61 | 72 61 74 6f 72 2e 22 29 |art sepa|rator.")|
|00002cd0| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 62 61 64 |.(defvar| url-bad|
|00002ce0| 2d 70 6f 72 74 2d 6c 69 | 73 74 20 27 28 22 32 35 |-port-li|st '("25|
|00002cf0| 22 20 22 31 31 39 22 29 | 20 22 5c 0a 2a 4c 69 73 |" "119")| "\.*Lis|
|00002d00| 74 20 6f 66 20 70 6f 72 | 74 73 20 74 6f 20 77 61 |t of por|ts to wa|
|00002d10| 72 6e 20 74 68 65 20 75 | 73 65 72 20 61 62 6f 75 |rn the u|ser abou|
|00002d20| 74 20 63 6f 6e 6e 65 63 | 74 69 6e 67 20 74 6f 2e |t connec|ting to.|
|00002d30| 20 20 44 65 66 61 75 6c | 74 73 20 74 6f 20 6a 75 | Defaul|ts to ju|
|00002d40| 73 74 0a 74 68 65 20 6d | 61 69 6c 20 61 6e 64 20 |st.the m|ail and |
|00002d50| 4e 4e 54 50 20 70 6f 72 | 74 73 20 73 6f 20 79 6f |NNTP por|ts so yo|
|00002d60| 75 20 63 61 6e 6e 6f 74 | 20 62 65 20 74 72 69 63 |u cannot| be tric|
|00002d70| 6b 65 64 20 69 6e 74 6f | 20 73 65 6e 64 69 6e 67 |ked into| sending|
|00002d80| 20 66 61 6b 65 20 6d 61 | 69 6c 20 6f 72 0a 66 6f | fake ma|il or.fo|
|00002d90| 72 67 69 6e 67 20 6d 65 | 73 73 61 67 65 73 20 62 |rging me|ssages b|
|00002da0| 79 20 61 20 6d 61 6c 69 | 63 69 6f 75 73 20 48 54 |y a mali|cious HT|
|00002db0| 4d 4c 20 64 6f 63 75 6d | 65 6e 74 2e 22 29 0a 28 |ML docum|ent.").(|
|00002dc0| 64 65 66 76 61 72 20 75 | 72 6c 2d 62 65 2d 61 6e |defvar u|rl-be-an|
|00002dd0| 61 6c 2d 61 62 6f 75 74 | 2d 66 69 6c 65 2d 61 74 |al-about|-file-at|
|00002de0| 74 72 69 62 75 74 65 73 | 20 6e 69 6c 20 22 5c 0a |tributes| nil "\.|
|00002df0| 2a 57 68 65 74 68 65 72 | 20 74 6f 20 75 73 65 20 |*Whether| to use |
|00002e00| 48 54 54 50 2f 31 2e 30 | 20 74 6f 20 66 69 67 75 |HTTP/1.0| to figu|
|00002e10| 72 65 20 6f 75 74 20 66 | 69 6c 65 20 61 74 74 72 |re out f|ile attr|
|00002e20| 69 62 75 74 65 73 0a 6f | 72 20 6a 75 73 74 20 67 |ibutes.o|r just g|
|00002e30| 75 65 73 73 20 62 61 73 | 65 64 20 6f 6e 20 66 69 |uess bas|ed on fi|
|00002e40| 6c 65 20 65 78 74 65 6e | 73 69 6f 6e 2c 20 65 74 |le exten|sion, et|
|00002e50| 63 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |c.").(de|fvar url|
|00002e60| 2d 62 65 2d 61 73 79 6e | 63 68 72 6f 6e 6f 75 73 |-be-asyn|chronous|
|00002e70| 20 6e 69 6c 20 22 5c 0a | 2a 43 6f 6e 74 72 6f 6c | nil "\.|*Control|
|00002e80| 73 20 77 68 65 74 68 65 | 72 20 64 6f 63 75 6d 65 |s whethe|r docume|
|00002e90| 6e 74 20 72 65 74 72 69 | 65 76 61 6c 73 20 6f 76 |nt retri|evals ov|
|00002ea0| 65 72 20 48 54 54 50 20 | 73 68 6f 75 6c 64 20 62 |er HTTP |should b|
|00002eb0| 65 20 64 6f 6e 65 20 69 | 6e 0a 74 68 65 20 62 61 |e done i|n.the ba|
|00002ec0| 63 6b 67 72 6f 75 6e 64 | 2e 20 20 54 68 69 73 20 |ckground|. This |
|00002ed0| 61 6c 6c 6f 77 73 20 79 | 6f 75 20 74 6f 20 6b 65 |allows y|ou to ke|
|00002ee0| 65 70 20 77 6f 72 6b 69 | 6e 67 20 69 6e 20 6f 74 |ep worki|ng in ot|
|00002ef0| 68 65 72 20 77 69 6e 64 | 6f 77 73 0a 77 68 69 6c |her wind|ows.whil|
|00002f00| 65 20 6c 61 72 67 65 20 | 64 6f 77 6e 6c 6f 61 64 |e large |download|
|00002f10| 73 20 6f 63 63 75 72 2e | 22 29 0a 28 6d 61 6b 65 |s occur.|").(make|
|00002f20| 2d 76 61 72 69 61 62 6c | 65 2d 62 75 66 66 65 72 |-variabl|e-buffer|
|00002f30| 2d 6c 6f 63 61 6c 20 27 | 75 72 6c 2d 62 65 2d 61 |-local '|url-be-a|
|00002f40| 73 79 6e 63 68 72 6f 6e | 6f 75 73 29 0a 28 64 65 |synchron|ous).(de|
|00002f50| 66 76 61 72 20 75 72 6c | 2d 72 65 71 75 65 73 74 |fvar url|-request|
|00002f60| 2d 64 61 74 61 20 6e 69 | 6c 20 22 5c 0a 41 6e 79 |-data ni|l "\.Any|
|00002f70| 20 64 61 74 61 20 74 6f | 20 73 65 6e 64 20 77 69 | data to| send wi|
|00002f80| 74 68 20 74 68 65 20 6e | 65 78 74 20 72 65 71 75 |th the n|ext requ|
|00002f90| 65 73 74 2e 22 29 0a 28 | 64 65 66 76 61 72 20 75 |est.").(|defvar u|
|00002fa0| 72 6c 2d 72 65 71 75 65 | 73 74 2d 65 78 74 72 61 |rl-reque|st-extra|
|00002fb0| 2d 68 65 61 64 65 72 73 | 20 6e 69 6c 20 22 5c 0a |-headers| nil "\.|
|00002fc0| 41 20 6c 69 73 74 20 6f | 66 20 65 78 74 72 61 20 |A list o|f extra |
|00002fd0| 68 65 61 64 65 72 73 20 | 74 6f 20 73 65 6e 64 20 |headers |to send |
|00002fe0| 77 69 74 68 20 74 68 65 | 20 6e 65 78 74 20 72 65 |with the| next re|
|00002ff0| 71 75 65 73 74 2e 20 20 | 53 68 6f 75 6c 64 20 62 |quest. |Should b|
|00003000| 65 0a 61 6e 20 61 73 73 | 6f 63 20 6c 69 73 74 20 |e.an ass|oc list |
|00003010| 6f 66 20 68 65 61 64 65 | 72 73 2f 63 6f 6e 74 65 |of heade|rs/conte|
|00003020| 6e 74 73 2e 22 29 0a 28 | 64 65 66 76 61 72 20 75 |nts.").(|defvar u|
|00003030| 72 6c 2d 72 65 71 75 65 | 73 74 2d 6d 65 74 68 6f |rl-reque|st-metho|
|00003040| 64 20 6e 69 6c 20 22 5c | 0a 54 68 65 20 6d 65 74 |d nil "\|.The met|
|00003050| 68 6f 64 20 74 6f 20 75 | 73 65 20 66 6f 72 20 74 |hod to u|se for t|
|00003060| 68 65 20 6e 65 78 74 20 | 72 65 71 75 65 73 74 2e |he next |request.|
|00003070| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 6d |").(defv|ar url-m|
|00003080| 69 6d 65 2d 65 6e 63 6f | 64 69 6e 67 2d 73 74 72 |ime-enco|ding-str|
|00003090| 69 6e 67 20 6e 69 6c 20 | 22 5c 0a 53 74 72 69 6e |ing nil |"\.Strin|
|000030a0| 67 20 74 6f 20 73 65 6e | 64 20 74 6f 20 74 68 65 |g to sen|d to the|
|000030b0| 20 73 65 72 76 65 72 20 | 69 6e 20 74 68 65 20 41 | server |in the A|
|000030c0| 63 63 65 70 74 2d 65 6e | 63 6f 64 69 6e 67 3a 20 |ccept-en|coding: |
|000030d0| 66 69 65 6c 64 20 69 6e | 20 48 54 54 50 2f 31 2e |field in| HTTP/1.|
|000030e0| 30 0a 72 65 71 75 65 73 | 74 73 2e 20 20 54 68 69 |0.reques|ts. Thi|
|000030f0| 73 20 69 73 20 63 72 65 | 61 74 65 64 20 61 75 74 |s is cre|ated aut|
|00003100| 6f 6d 61 74 69 63 61 6c | 6c 79 20 66 72 6f 6d 20 |omatical|ly from |
|00003110| 6d 6d 2d 63 6f 6e 74 65 | 6e 74 2d 74 72 61 6e 73 |mm-conte|nt-trans|
|00003120| 66 65 72 2d 65 6e 63 6f | 64 69 6e 67 73 2e 22 29 |fer-enco|dings.")|
|00003130| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 6d 69 6d |.(defvar| url-mim|
|00003140| 65 2d 6c 61 6e 67 75 61 | 67 65 2d 73 74 72 69 6e |e-langua|ge-strin|
|00003150| 67 20 22 2a 2f 2a 22 20 | 22 5c 0a 53 74 72 69 6e |g "*/*" |"\.Strin|
|00003160| 67 20 74 6f 20 73 65 6e | 64 20 74 6f 20 74 68 65 |g to sen|d to the|
|00003170| 20 73 65 72 76 65 72 20 | 69 6e 20 74 68 65 20 41 | server |in the A|
|00003180| 63 63 65 70 74 2d 6c 61 | 6e 67 75 61 67 65 3a 20 |ccept-la|nguage: |
|00003190| 66 69 65 6c 64 20 69 6e | 0a 48 54 54 50 2f 31 2e |field in|.HTTP/1.|
|000031a0| 30 20 72 65 71 75 65 73 | 74 73 2e 22 29 0a 28 64 |0 reques|ts.").(d|
|000031b0| 65 66 76 61 72 20 75 72 | 6c 2d 6d 69 6d 65 2d 61 |efvar ur|l-mime-a|
|000031c0| 63 63 65 70 74 2d 73 74 | 72 69 6e 67 20 6e 69 6c |ccept-st|ring nil|
|000031d0| 20 22 5c 0a 53 74 72 69 | 6e 67 20 74 6f 20 73 65 | "\.Stri|ng to se|
|000031e0| 6e 64 20 74 6f 20 74 68 | 65 20 73 65 72 76 65 72 |nd to th|e server|
|000031f0| 20 69 6e 20 74 68 65 20 | 41 63 63 65 70 74 3a 20 | in the |Accept: |
|00003200| 66 69 65 6c 64 20 69 6e | 20 48 54 54 50 2f 31 2e |field in| HTTP/1.|
|00003210| 30 20 72 65 71 75 65 73 | 74 73 2e 0a 54 68 69 73 |0 reques|ts..This|
|00003220| 20 69 73 20 63 72 65 61 | 74 65 64 20 61 75 74 6f | is crea|ted auto|
|00003230| 6d 61 74 69 63 61 6c 6c | 79 20 66 72 6f 6d 20 75 |maticall|y from u|
|00003240| 72 6c 2d 6d 69 6d 65 2d | 76 69 65 77 65 72 73 2c |rl-mime-|viewers,|
|00003250| 20 61 66 74 65 72 20 74 | 68 65 20 6d 61 69 6c 63 | after t|he mailc|
|00003260| 61 70 20 66 69 6c 65 0a | 68 61 73 20 62 65 65 6e |ap file.|has been|
|00003270| 20 70 61 72 73 65 64 2e | 22 29 0a 28 64 65 66 76 | parsed.|").(defv|
|00003280| 61 72 20 75 72 6c 2d 72 | 65 67 69 73 74 65 72 65 |ar url-r|egistere|
|00003290| 64 2d 70 72 6f 74 6f 63 | 6f 6c 73 20 6e 69 6c 20 |d-protoc|ols nil |
|000032a0| 22 5c 0a 49 6e 74 65 72 | 6e 61 6c 20 73 74 72 75 |"\.Inter|nal stru|
|000032b0| 63 74 75 72 65 20 2d 20 | 64 6f 20 6e 6f 74 20 6d |cture - |do not m|
|000032c0| 6f 64 69 66 79 21 20 20 | 53 65 65 20 60 75 72 6c |odify! |See `url|
|000032d0| 2d 72 65 67 69 73 74 65 | 72 2d 70 72 6f 74 6f 63 |-registe|r-protoc|
|000032e0| 6f 6c 27 22 29 0a 28 64 | 65 66 76 61 72 20 75 72 |ol'").(d|efvar ur|
|000032f0| 6c 2d 70 61 63 6b 61 67 | 65 2d 76 65 72 73 69 6f |l-packag|e-versio|
|00003300| 6e 20 22 55 6e 6b 6e 6f | 77 6e 22 20 22 5c 0a 56 |n "Unkno|wn" "\.V|
|00003310| 65 72 73 69 6f 6e 20 23 | 20 6f 66 20 70 61 63 6b |ersion #| of pack|
|00003320| 61 67 65 20 75 73 69 6e | 67 20 55 52 4c 2e 22 29 |age usin|g URL.")|
|00003330| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 70 61 63 |.(defvar| url-pac|
|00003340| 6b 61 67 65 2d 6e 61 6d | 65 20 22 55 6e 6b 6e 6f |kage-nam|e "Unkno|
|00003350| 77 6e 22 20 22 5c 0a 56 | 65 72 73 69 6f 6e 20 23 |wn" "\.V|ersion #|
|00003360| 20 6f 66 20 70 61 63 6b | 61 67 65 20 75 73 69 6e | of pack|age usin|
|00003370| 67 20 55 52 4c 2e 22 29 | 0a 28 64 65 66 76 61 72 |g URL.")|.(defvar|
|00003380| 20 75 72 6c 2d 64 65 66 | 61 75 6c 74 2d 73 65 73 | url-def|ault-ses|
|00003390| 73 69 6f 6e 2d 69 64 20 | 6e 69 6c 20 22 5c 0a 54 |sion-id |nil "\.T|
|000033a0| 68 65 20 64 65 66 61 75 | 6c 74 20 73 65 73 73 69 |he defau|lt sessi|
|000033b0| 6f 6e 20 49 44 2c 20 69 | 66 20 6e 6f 6e 65 20 69 |on ID, i|f none i|
|000033c0| 73 20 64 65 66 69 6e 65 | 64 20 66 6f 72 20 74 68 |s define|d for th|
|000033d0| 65 20 63 75 72 72 65 6e | 74 20 73 65 72 76 65 72 |e curren|t server|
|000033e0| 2e 0a 54 68 69 73 20 69 | 73 20 72 65 67 65 6e 65 |..This i|s regene|
|000033f0| 72 61 74 65 64 20 65 61 | 63 68 20 74 69 6d 65 20 |rated ea|ch time |
|00003400| 60 75 72 6c 2d 64 6f 2d | 73 65 74 75 70 27 20 69 |`url-do-|setup' i|
|00003410| 73 20 63 61 6c 6c 65 64 | 22 29 0a 28 64 65 66 76 |s called|").(defv|
|00003420| 61 72 20 75 72 6c 2d 73 | 65 73 73 69 6f 6e 2d 69 |ar url-s|ession-i|
|00003430| 64 2d 61 6c 69 73 74 20 | 6e 69 6c 20 22 5c 0a 41 |d-alist |nil "\.A|
|00003440| 6e 20 61 73 73 6f 63 20 | 6c 69 73 74 20 6f 66 20 |n assoc |list of |
|00003450| 53 65 73 73 69 6f 6e 2d | 49 44 20 68 65 61 64 65 |Session-|ID heade|
|00003460| 72 73 2e 20 20 4b 65 79 | 65 64 20 6f 66 66 20 6f |rs. Key|ed off o|
|00003470| 66 20 73 65 72 76 65 72 | 3a 70 6f 72 74 6e 75 6d |f server|:portnum|
|00003480| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 73 |").(defv|ar url-s|
|00003490| 79 73 74 65 6d 2d 74 79 | 70 65 20 6e 69 6c 20 22 |ystem-ty|pe nil "|
|000034a0| 5c 0a 57 68 61 74 20 74 | 79 70 65 20 6f 66 20 73 |\.What t|ype of s|
|000034b0| 79 73 74 65 6d 20 77 65 | 20 61 72 65 20 6f 6e 2e |ystem we| are on.|
|000034c0| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 6f |").(defv|ar url-o|
|000034d0| 73 2d 74 79 70 65 20 6e | 69 6c 20 22 5c 0a 57 68 |s-type n|il "\.Wh|
|000034e0| 61 74 20 4f 53 20 77 65 | 20 61 72 65 20 6f 6e 2e |at OS we| are on.|
|000034f0| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 6d |").(defv|ar url-m|
|00003500| 61 78 2d 70 61 73 73 77 | 6f 72 64 2d 61 74 74 65 |ax-passw|ord-atte|
|00003510| 6d 70 74 73 20 35 20 22 | 5c 0a 2a 4d 61 78 69 6d |mpts 5 "|\.*Maxim|
|00003520| 75 6d 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 69 6d |um numbe|r of tim|
|00003530| 65 73 20 61 20 70 61 73 | 73 77 6f 72 64 20 77 69 |es a pas|sword wi|
|00003540| 6c 6c 20 62 65 20 70 72 | 6f 6d 70 74 65 64 20 66 |ll be pr|ompted f|
|00003550| 6f 72 20 77 68 65 6e 20 | 61 0a 70 72 6f 74 65 63 |or when |a.protec|
|00003560| 74 65 64 20 64 6f 63 75 | 6d 65 6e 74 20 69 73 20 |ted docu|ment is |
|00003570| 64 65 6e 69 65 64 20 62 | 79 20 74 68 65 20 73 65 |denied b|y the se|
|00003580| 72 76 65 72 2e 22 29 0a | 28 64 65 66 76 61 72 20 |rver.").|(defvar |
|00003590| 75 72 6c 2d 77 61 69 73 | 2d 74 6f 2d 6d 69 6d 65 |url-wais|-to-mime|
|000035a0| 20 27 28 28 22 57 53 52 | 43 22 20 2e 20 22 61 70 | '(("WSR|C" . "ap|
|000035b0| 70 6c 69 63 61 74 69 6f | 6e 2f 78 2d 77 61 69 73 |plicatio|n/x-wais|
|000035c0| 2d 73 6f 75 72 63 65 22 | 29 20 28 22 54 45 58 54 |-source"|) ("TEXT|
|000035d0| 22 20 2e 20 22 74 65 78 | 74 2f 70 6c 61 69 6e 22 |" . "tex|t/plain"|
|000035e0| 29 29 20 22 5c 0a 41 6e | 20 61 73 73 6f 63 20 6c |)) "\.An| assoc l|
|000035f0| 69 73 74 20 6f 66 20 77 | 61 69 73 20 64 6f 63 74 |ist of w|ais doct|
|00003600| 79 70 65 73 20 61 6e 64 | 20 74 68 65 69 72 20 63 |ypes and| their c|
|00003610| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 4d 49 4d |orrespon|ding MIM|
|00003620| 45 0a 63 6f 6e 74 65 6e | 74 2d 74 79 70 65 73 2e |E.conten|t-types.|
|00003630| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 77 |").(defv|ar url-w|
|00003640| 61 69 73 71 2d 70 72 6f | 67 20 22 77 61 69 73 71 |aisq-pro|g "waisq|
|00003650| 22 20 22 5c 0a 2a 4e 61 | 6d 65 20 6f 66 20 74 68 |" "\.*Na|me of th|
|00003660| 65 20 77 61 69 73 71 20 | 65 78 65 63 75 74 61 62 |e waisq |executab|
|00003670| 6c 65 20 6f 6e 20 74 68 | 69 73 20 73 79 73 74 65 |le on th|is syste|
|00003680| 6d 2e 20 20 54 68 69 73 | 20 73 68 6f 75 6c 64 20 |m. This| should |
|00003690| 62 65 20 74 68 65 0a 77 | 61 69 73 71 20 70 72 6f |be the.w|aisq pro|
|000036a0| 67 72 61 6d 20 66 72 6f | 6d 20 74 68 69 6e 6b 2e |gram fro|m think.|
|000036b0| 63 6f 6d 27 73 20 77 61 | 69 73 38 2d 62 35 2e 31 |com's wa|is8-b5.1|
|000036c0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 2e 22 29 | distrib|ution.")|
|000036d0| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 77 61 69 |.(defvar| url-wai|
|000036e0| 73 2d 67 61 74 65 77 61 | 79 2d 73 65 72 76 65 72 |s-gatewa|y-server|
|000036f0| 20 22 77 77 77 2e 6e 63 | 73 61 2e 75 69 75 63 2e | "www.nc|sa.uiuc.|
|00003700| 65 64 75 22 20 22 5c 0a | 2a 54 68 65 20 6d 61 63 |edu" "\.|*The mac|
|00003710| 68 69 6e 65 20 6e 61 6d | 65 20 77 68 65 72 65 20 |hine nam|e where |
|00003720| 74 68 65 20 57 41 49 53 | 20 67 61 74 65 77 61 79 |the WAIS| gateway|
|00003730| 20 6c 69 76 65 73 2e 22 | 29 0a 28 64 65 66 76 61 | lives."|).(defva|
|00003740| 72 20 75 72 6c 2d 77 61 | 69 73 2d 67 61 74 65 77 |r url-wa|is-gatew|
|00003750| 61 79 2d 70 6f 72 74 20 | 22 38 30 30 31 22 20 22 |ay-port |"8001" "|
|00003760| 5c 0a 2a 54 68 65 20 70 | 6f 72 74 20 23 20 6f 66 |\.*The p|ort # of|
|00003770| 20 74 68 65 20 57 41 49 | 53 20 67 61 74 65 77 61 | the WAI|S gatewa|
|00003780| 79 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |y.").(de|fvar url|
|00003790| 2d 74 65 6d 70 6f 72 61 | 72 79 2d 64 69 72 65 63 |-tempora|ry-direc|
|000037a0| 74 6f 72 79 20 22 2f 74 | 6d 70 22 20 22 5c 0a 2a |tory "/t|mp" "\.*|
|000037b0| 57 68 65 72 65 20 74 65 | 6d 70 6f 72 61 72 79 20 |Where te|mporary |
|000037c0| 66 69 6c 65 73 20 67 6f | 2e 22 29 0a 28 64 65 66 |files go|.").(def|
|000037d0| 76 61 72 20 75 72 6c 2d | 73 68 6f 77 2d 73 74 61 |var url-|show-sta|
|000037e0| 74 75 73 20 74 20 22 5c | 0a 2a 57 68 65 74 68 65 |tus t "\|.*Whethe|
|000037f0| 72 20 74 6f 20 73 68 6f | 77 20 61 20 72 75 6e 6e |r to sho|w a runn|
|00003800| 69 6e 67 20 74 6f 74 61 | 6c 20 6f 66 20 62 79 74 |ing tota|l of byt|
|00003810| 65 73 20 74 72 61 6e 73 | 66 65 72 72 65 64 2e 20 |es trans|ferred. |
|00003820| 20 43 61 6e 20 63 61 75 | 73 65 20 61 0a 6c 61 72 | Can cau|se a.lar|
|00003830| 67 65 20 68 69 74 20 69 | 66 20 75 73 69 6e 67 20 |ge hit i|f using |
|00003840| 61 20 72 65 6d 6f 74 65 | 20 58 20 64 69 73 70 6c |a remote| X displ|
|00003850| 61 79 20 6f 76 65 72 20 | 61 20 73 6c 6f 77 20 6c |ay over |a slow l|
|00003860| 69 6e 6b 2c 20 6f 72 20 | 61 20 74 65 72 6d 69 6e |ink, or |a termin|
|00003870| 61 6c 0a 77 69 74 68 20 | 61 20 73 6c 6f 77 20 6d |al.with |a slow m|
|00003880| 6f 64 65 6d 2e 22 29 0a | 28 64 65 66 76 61 72 20 |odem.").|(defvar |
|00003890| 75 72 6c 2d 75 73 69 6e | 67 2d 70 72 6f 78 79 20 |url-usin|g-proxy |
|000038a0| 6e 69 6c 20 22 5c 0a 45 | 69 74 68 65 72 20 6e 69 |nil "\.E|ither ni|
|000038b0| 6c 20 6f 72 20 74 68 65 | 20 66 75 6c 6c 79 20 71 |l or the| fully q|
|000038c0| 75 61 6c 69 66 69 65 64 | 20 70 72 6f 78 79 20 55 |ualified| proxy U|
|000038d0| 52 4c 20 69 6e 20 75 73 | 65 2c 20 65 2e 67 2e 0a |RL in us|e, e.g..|
|000038e0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 64 6f 6d 61 69 |http://w|ww.domai|
|000038f0| 6e 2e 63 6f 6d 2f 22 29 | 0a 28 64 65 66 76 61 72 |n.com/")|.(defvar|
|00003900| 20 75 72 6c 2d 6e 65 77 | 73 2d 73 65 72 76 65 72 | url-new|s-server|
|00003910| 20 6e 69 6c 20 22 5c 0a | 2a 54 68 65 20 64 65 66 | nil "\.|*The def|
|00003920| 61 75 6c 74 20 6e 65 77 | 73 20 73 65 72 76 65 72 |ault new|s server|
|00003930| 20 74 6f 20 67 65 74 20 | 6e 65 77 73 67 72 6f 75 | to get |newsgrou|
|00003940| 70 73 2f 61 72 74 69 63 | 6c 65 73 20 66 72 6f 6d |ps/artic|les from|
|00003950| 20 69 66 20 6e 6f 20 73 | 65 72 76 65 72 0a 69 73 | if no s|erver.is|
|00003960| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 20 74 68 | specifi|ed in th|
|00003970| 65 20 55 52 4c 2e 20 20 | 44 65 66 61 75 6c 74 73 |e URL. |Defaults|
|00003980| 20 74 6f 20 74 68 65 20 | 65 6e 76 69 72 6f 6e 6d | to the |environm|
|00003990| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 20 4e 4e 54 |ent vari|able NNT|
|000039a0| 50 53 45 52 56 45 52 0a | 6f 72 20 5c 22 6e 65 77 |PSERVER.|or \"new|
|000039b0| 73 5c 22 20 69 66 20 4e | 4e 54 50 53 45 52 56 45 |s\" if N|NTPSERVE|
|000039c0| 52 20 69 73 20 75 6e 64 | 65 66 69 6e 65 64 2e 22 |R is und|efined."|
|000039d0| 29 0a 28 64 65 66 76 61 | 72 20 75 72 6c 2d 67 6f |).(defva|r url-go|
|000039e0| 70 68 65 72 2d 74 6f 2d | 6d 69 6d 65 20 27 28 28 |pher-to-|mime '((|
|000039f0| 34 38 20 2e 20 22 74 65 | 78 74 2f 70 6c 61 69 6e |48 . "te|xt/plain|
|00003a00| 22 29 20 28 34 39 20 2e | 20 22 77 77 77 2f 67 6f |") (49 .| "www/go|
|00003a10| 70 68 65 72 22 29 20 28 | 35 30 20 2e 20 22 77 77 |pher") (|50 . "ww|
|00003a20| 77 2f 67 6f 70 68 65 72 | 2d 63 73 6f 2d 73 65 61 |w/gopher|-cso-sea|
|00003a30| 72 63 68 22 29 20 28 35 | 31 20 2e 20 22 74 65 78 |rch") (5|1 . "tex|
|00003a40| 74 2f 70 6c 61 69 6e 22 | 29 20 28 35 32 20 2e 20 |t/plain"|) (52 . |
|00003a50| 22 61 70 70 6c 69 63 61 | 74 69 6f 6e 2f 6d 61 63 |"applica|tion/mac|
|00003a60| 2d 62 69 6e 68 65 78 34 | 30 22 29 20 28 35 33 20 |-binhex4|0") (53 |
|00003a70| 2e 20 22 61 70 70 6c 69 | 63 61 74 69 6f 6e 2f 70 |. "appli|cation/p|
|00003a80| 63 2d 62 69 6e 68 65 78 | 34 30 22 29 20 28 35 34 |c-binhex|40") (54|
|00003a90| 20 2e 20 22 61 72 63 68 | 69 76 65 2f 78 2d 75 75 | . "arch|ive/x-uu|
|00003aa0| 65 6e 63 6f 64 65 22 29 | 20 28 35 35 20 2e 20 22 |encode")| (55 . "|
|00003ab0| 77 77 77 2f 67 6f 70 68 | 65 72 2d 73 65 61 72 63 |www/goph|er-searc|
|00003ac0| 68 22 29 20 28 35 37 20 | 2e 20 22 61 70 70 6c 69 |h") (57 |. "appli|
|00003ad0| 63 61 74 69 6f 6e 2f 6f | 63 74 65 74 2d 73 74 72 |cation/o|ctet-str|
|00003ae0| 65 61 6d 22 29 20 28 31 | 30 33 20 2e 20 22 69 6d |eam") (1|03 . "im|
|00003af0| 61 67 65 2f 67 69 66 22 | 29 20 28 37 33 20 2e 20 |age/gif"|) (73 . |
|00003b00| 22 69 6d 61 67 65 2f 67 | 69 66 22 29 20 28 31 30 |"image/g|if") (10|
|00003b10| 34 20 2e 20 22 74 65 78 | 74 2f 68 74 6d 6c 22 29 |4 . "tex|t/html")|
|00003b20| 20 28 31 31 35 20 2e 20 | 22 61 75 64 69 6f 2f 62 | (115 . |"audio/b|
|00003b30| 61 73 69 63 22 29 29 20 | 22 5c 0a 2a 41 6e 20 61 |asic")) |"\.*An a|
|00003b40| 73 73 6f 63 20 6c 69 73 | 74 20 6f 66 20 67 6f 70 |ssoc lis|t of gop|
|00003b50| 68 65 72 20 74 79 70 65 | 73 20 61 6e 64 20 74 68 |her type|s and th|
|00003b60| 65 69 72 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |eir corr|espondin|
|00003b70| 67 20 4d 49 4d 45 20 74 | 79 70 65 73 2e 22 29 0a |g MIME t|ypes.").|
|00003b80| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 75 73 65 2d |(defvar |url-use-|
|00003b90| 68 79 70 65 72 74 65 78 | 74 2d 67 6f 70 68 65 72 |hypertex|t-gopher|
|00003ba0| 20 74 20 22 5c 0a 2a 43 | 6f 6e 74 72 6f 6c 73 20 | t "\.*C|ontrols |
|00003bb0| 68 6f 77 20 67 6f 70 68 | 65 72 20 64 6f 63 75 6d |how goph|er docum|
|00003bc0| 65 6e 74 73 20 61 72 65 | 20 72 65 74 72 69 65 76 |ents are| retriev|
|00003bd0| 65 64 2e 0a 49 66 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |ed..If n|on-nil, |
|00003be0| 74 68 65 20 67 6f 70 68 | 65 72 20 70 61 67 65 73 |the goph|er pages|
|00003bf0| 20 77 69 6c 6c 20 62 65 | 20 63 6f 6e 76 65 72 74 | will be| convert|
|00003c00| 65 64 20 69 6e 74 6f 20 | 48 54 4d 4c 20 61 6e 64 |ed into |HTML and|
|00003c10| 20 70 61 72 73 65 64 0a | 6a 75 73 74 20 6c 69 6b | parsed.|just lik|
|00003c20| 65 20 61 6e 79 20 6f 74 | 68 65 72 20 70 61 67 65 |e any ot|her page|
|00003c30| 2e 20 20 49 66 20 6e 69 | 6c 2c 20 74 68 65 20 72 |. If ni|l, the r|
|00003c40| 65 71 75 65 73 74 73 20 | 77 69 6c 6c 20 62 65 20 |equests |will be |
|00003c50| 70 61 73 73 65 64 20 6f | 66 66 20 74 6f 0a 74 68 |passed o|ff to.th|
|00003c60| 65 20 67 6f 70 68 65 72 | 2e 65 6c 20 70 61 63 6b |e gopher|.el pack|
|00003c70| 61 67 65 20 62 79 20 53 | 63 6f 74 74 20 53 6e 79 |age by S|cott Sny|
|00003c80| 64 65 72 2e 20 20 55 73 | 69 6e 67 20 74 68 65 20 |der. Us|ing the |
|00003c90| 67 6f 70 68 65 72 2e 65 | 6c 20 70 61 63 6b 61 67 |gopher.e|l packag|
|00003ca0| 65 0a 77 69 6c 6c 20 6c | 6f 73 65 20 74 68 65 20 |e.will l|ose the |
|00003cb0| 67 6f 70 68 65 72 2b 20 | 73 75 70 70 6f 72 74 2c |gopher+ |support,|
|00003cc0| 20 61 6e 64 20 69 6e 6c | 69 6e 65 64 20 73 65 61 | and inl|ined sea|
|00003cd0| 72 63 68 69 6e 67 2e 22 | 29 0a 28 64 65 66 76 61 |rching."|).(defva|
|00003ce0| 72 20 75 72 6c 2d 67 6c | 6f 62 61 6c 2d 68 69 73 |r url-gl|obal-his|
|00003cf0| 74 6f 72 79 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |tory-com|pletion-|
|00003d00| 6c 69 73 74 20 6e 69 6c | 20 22 5c 0a 41 73 73 6f |list nil| "\.Asso|
|00003d10| 63 2d 6c 69 73 74 20 6f | 66 20 66 6f 72 20 67 6c |c-list o|f for gl|
|00003d20| 6f 62 61 6c 20 68 69 73 | 74 6f 72 79 20 63 6f 6d |obal his|tory com|
|00003d30| 70 6c 65 74 69 6f 6e 2e | 22 29 0a 28 64 65 66 76 |pletion.|").(defv|
|00003d40| 61 72 20 75 72 6c 2d 6e | 6f 6e 72 65 6c 61 74 69 |ar url-n|onrelati|
|00003d50| 76 65 2d 6c 69 6e 6b 20 | 22 5e 5c 5c 28 5b 61 2d |ve-link |"^\\([a-|
|00003d60| 7a 41 2d 5a 30 2d 39 2b | 2e 2d 5d 2b 3a 5c 5c 29 |zA-Z0-9+|.-]+:\\)|
|00003d70| 22 20 22 5c 0a 41 20 72 | 65 67 75 6c 61 72 20 65 |" "\.A r|egular e|
|00003d80| 78 70 72 65 73 73 69 6f | 6e 20 74 68 61 74 20 77 |xpressio|n that w|
|00003d90| 69 6c 6c 20 6d 61 74 63 | 68 20 61 6e 20 61 62 73 |ill matc|h an abs|
|00003da0| 6f 6c 75 74 65 20 55 52 | 4c 2e 22 29 0a 28 64 65 |olute UR|L.").(de|
|00003db0| 66 76 61 72 20 75 72 6c | 2d 63 6f 6e 66 69 72 6d |fvar url|-confirm|
|00003dc0| 61 74 69 6f 6e 2d 66 75 | 6e 63 20 27 79 2d 6f 72 |ation-fu|nc 'y-or|
|00003dd0| 2d 6e 2d 70 20 22 5c 0a | 2a 57 68 61 74 20 66 75 |-n-p "\.|*What fu|
|00003de0| 6e 63 74 69 6f 6e 20 74 | 6f 20 75 73 65 20 66 6f |nction t|o use fo|
|00003df0| 72 20 61 73 6b 69 6e 67 | 20 79 65 73 20 6f 72 20 |r asking| yes or |
|00003e00| 6e 6f 20 66 75 6e 63 74 | 69 6f 6e 73 2e 20 20 50 |no funct|ions. P|
|00003e10| 6f 73 73 69 62 6c 65 0a | 76 61 6c 75 65 73 20 61 |ossible.|values a|
|00003e20| 72 65 20 27 79 65 73 2d | 6f 72 2d 6e 6f 2d 70 20 |re 'yes-|or-no-p |
|00003e30| 6f 72 20 27 79 2d 6f 72 | 2d 6e 2d 70 2c 20 6f 72 |or 'y-or|-n-p, or|
|00003e40| 20 61 6e 79 20 66 75 6e | 63 74 69 6f 6e 20 74 68 | any fun|ction th|
|00003e50| 61 74 20 74 61 6b 65 73 | 20 61 0a 73 69 6e 67 6c |at takes| a.singl|
|00003e60| 65 20 61 72 67 75 6d 65 | 6e 74 20 28 74 68 65 20 |e argume|nt (the |
|00003e70| 70 72 6f 6d 70 74 29 2c | 20 61 6e 64 20 72 65 74 |prompt),| and ret|
|00003e80| 75 72 6e 73 20 74 20 6f | 6e 6c 79 20 69 66 20 61 |urns t o|nly if a|
|00003e90| 20 70 6f 73 69 74 69 76 | 65 20 61 6e 73 77 65 72 | positiv|e answer|
|00003ea0| 0a 69 73 20 67 6f 74 74 | 65 6e 2e 22 29 0a 28 64 |.is gott|en.").(d|
|00003eb0| 65 66 76 61 72 20 75 72 | 6c 2d 63 6f 6e 6e 65 63 |efvar ur|l-connec|
|00003ec0| 74 69 6f 6e 2d 72 65 74 | 72 69 65 73 20 35 20 22 |tion-ret|ries 5 "|
|00003ed0| 5c 0a 2a 23 20 6f 66 20 | 74 69 6d 65 73 20 74 6f |\.*# of |times to|
|00003ee0| 20 74 72 79 20 66 6f 72 | 20 61 20 63 6f 6e 6e 65 | try for| a conne|
|00003ef0| 63 74 69 6f 6e 20 62 65 | 66 6f 72 65 20 62 61 69 |ction be|fore bai|
|00003f00| 6c 69 6e 67 2e 0a 49 66 | 20 66 6f 72 20 73 6f 6d |ling..If| for som|
|00003f10| 65 20 72 65 61 73 6f 6e | 20 75 72 6c 2d 6f 70 65 |e reason| url-ope|
|00003f20| 6e 2d 73 74 72 65 61 6d | 20 63 61 6e 6e 6f 74 20 |n-stream| cannot |
|00003f30| 6d 61 6b 65 20 61 20 63 | 6f 6e 6e 65 63 74 69 6f |make a c|onnectio|
|00003f40| 6e 20 74 6f 20 61 20 68 | 6f 73 74 0a 72 69 67 68 |n to a h|ost.righ|
|00003f50| 74 20 61 77 61 79 2c 20 | 69 74 20 77 69 6c 6c 20 |t away, |it will |
|00003f60| 73 69 74 20 66 6f 72 20 | 31 20 73 65 63 6f 6e 64 |sit for |1 second|
|00003f70| 2c 20 74 68 65 6e 20 74 | 72 79 20 61 67 61 69 6e |, then t|ry again|
|00003f80| 2c 20 75 70 20 74 6f 20 | 74 68 69 73 20 6d 61 6e |, up to |this man|
|00003f90| 79 0a 74 72 69 65 73 2e | 22 29 0a 28 64 65 66 76 |y.tries.|").(defv|
|00003fa0| 61 72 20 75 72 6c 2d 66 | 69 6e 64 2d 74 68 69 73 |ar url-f|ind-this|
|00003fb0| 2d 6c 69 6e 6b 20 6e 69 | 6c 20 22 5c 0a 4c 69 6e |-link ni|l "\.Lin|
|00003fc0| 6b 20 74 6f 20 67 6f 20 | 74 6f 20 77 69 74 68 69 |k to go |to withi|
|00003fd0| 6e 20 61 20 64 6f 63 75 | 6d 65 6e 74 2e 22 29 0a |n a docu|ment.").|
|00003fe0| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 73 68 6f 77 |(defvar |url-show|
|00003ff0| 2d 68 74 74 70 32 2d 74 | 72 61 6e 73 66 65 72 20 |-http2-t|ransfer |
|00004000| 74 20 22 5c 0a 2a 57 68 | 65 74 68 65 72 20 74 6f |t "\.*Wh|ether to|
|00004010| 20 73 68 6f 77 20 74 68 | 65 20 74 6f 74 61 6c 20 | show th|e total |
|00004020| 23 20 6f 66 20 62 79 74 | 65 73 2c 20 73 69 7a 65 |# of byt|es, size|
|00004030| 20 6f 66 20 66 69 6c 65 | 2c 20 61 6e 64 20 70 65 | of file|, and pe|
|00004040| 72 63 65 6e 74 61 67 65 | 0a 74 72 61 6e 73 66 65 |rcentage|.transfe|
|00004050| 72 72 65 64 20 77 68 65 | 6e 20 72 65 74 72 69 65 |rred whe|n retrie|
|00004060| 76 69 6e 67 20 61 20 64 | 6f 63 75 6d 65 6e 74 20 |ving a d|ocument |
|00004070| 6f 76 65 72 20 48 54 54 | 50 2f 31 2e 30 20 61 6e |over HTT|P/1.0 an|
|00004080| 64 20 69 74 20 72 65 74 | 75 72 6e 73 20 61 0a 76 |d it ret|urns a.v|
|00004090| 61 6c 69 64 20 63 6f 6e | 74 65 6e 74 2d 6c 65 6e |alid con|tent-len|
|000040a0| 67 74 68 20 68 65 61 64 | 65 72 2e 20 20 54 68 69 |gth head|er. Thi|
|000040b0| 73 20 63 61 6e 20 6d 65 | 73 73 20 75 70 20 73 6f |s can me|ss up so|
|000040c0| 6d 65 20 70 65 6f 70 6c | 65 20 62 65 68 69 6e 64 |me peopl|e behind|
|000040d0| 0a 67 61 74 65 77 61 79 | 73 2e 22 29 0a 28 64 65 |.gateway|s.").(de|
|000040e0| 66 76 61 72 20 75 72 6c | 2d 67 61 74 65 77 61 79 |fvar url|-gateway|
|000040f0| 2d 6d 65 74 68 6f 64 20 | 27 6e 61 74 69 76 65 20 |-method |'native |
|00004100| 22 5c 0a 2a 54 68 65 20 | 74 79 70 65 20 6f 66 20 |"\.*The |type of |
|00004110| 67 61 74 65 77 61 79 20 | 73 75 70 70 6f 72 74 20 |gateway |support |
|00004120| 74 6f 20 75 73 65 2e 0a | 53 68 6f 75 6c 64 20 62 |to use..|Should b|
|00004130| 65 20 61 20 73 79 6d 62 | 6f 6c 20 73 70 65 63 69 |e a symb|ol speci|
|00004140| 66 79 69 6e 67 20 68 6f | 77 20 77 65 20 61 72 65 |fying ho|w we are|
|00004150| 20 74 6f 20 67 65 74 20 | 61 20 63 6f 6e 6e 65 63 | to get |a connec|
|00004160| 74 69 6f 6e 20 6f 66 66 | 20 6f 66 20 74 68 65 0a |tion off| of the.|
|00004170| 6c 6f 63 61 6c 20 6d 61 | 63 68 69 6e 65 2e 0a 0a |local ma|chine...|
|00004180| 43 75 72 72 65 6e 74 6c | 79 20 73 75 70 70 6f 72 |Currentl|y suppor|
|00004190| 74 65 64 20 6d 65 74 68 | 6f 64 73 3a 0a 27 70 72 |ted meth|ods:.'pr|
|000041a0| 6f 67 72 61 6d 09 3a 3a | 20 52 75 6e 20 61 20 70 |ogram.::| Run a p|
|000041b0| 72 6f 67 72 61 6d 20 69 | 6e 20 61 20 73 75 62 70 |rogram i|n a subp|
|000041c0| 72 6f 63 65 73 73 20 74 | 6f 20 63 6f 6e 6e 65 63 |rocess t|o connec|
|000041d0| 74 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t. | |
|000041e0| 20 20 20 20 20 28 65 78 | 61 6d 70 6c 65 73 20 61 | (ex|amples a|
|000041f0| 72 65 20 69 74 65 6c 6e | 65 74 2c 20 61 6e 20 65 |re iteln|et, an e|
|00004200| 78 70 65 63 74 20 73 63 | 72 69 70 74 2c 20 65 74 |xpect sc|ript, et|
|00004210| 63 29 0a 27 6e 61 74 69 | 76 65 09 09 3a 3a 20 55 |c).'nati|ve..:: U|
|00004220| 73 65 20 74 68 65 20 6e | 61 74 69 76 65 20 6f 70 |se the n|ative op|
|00004230| 65 6e 2d 6e 65 74 77 6f | 72 6b 2d 73 74 72 65 61 |en-netwo|rk-strea|
|00004240| 6d 20 69 6e 20 65 6d 61 | 63 73 0a 27 74 63 70 20 |m in ema|cs.'tcp |
|00004250| 20 20 20 20 20 20 20 20 | 20 20 20 3a 3a 20 55 73 | | :: Us|
|00004260| 65 20 74 68 65 20 65 78 | 63 65 6c 6c 65 6e 74 20 |e the ex|cellent |
|00004270| 74 63 70 2e 65 6c 20 70 | 61 63 6b 61 67 65 20 66 |tcp.el p|ackage f|
|00004280| 72 6f 6d 20 67 6e 75 73 | 2e 0a 20 20 20 20 20 20 |rom gnus|.. |
|00004290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 68 69 | | Thi|
|000042a0| 73 20 73 69 6d 70 6c 79 | 20 64 6f 65 73 20 61 20 |s simply| does a |
|000042b0| 28 72 65 71 75 69 72 65 | 20 27 74 63 70 29 2c 20 |(require| 'tcp), |
|000042c0| 74 68 65 6e 20 73 65 74 | 73 0a 20 20 20 20 20 20 |then set|s. |
|000042d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 75 72 6c | | url|
|000042e0| 2d 67 61 74 65 77 61 79 | 2d 6d 65 74 68 6f 64 20 |-gateway|-method |
|000042f0| 74 6f 20 62 65 20 27 6e | 61 74 69 76 65 2e 22 29 |to be 'n|ative.")|
|00004300| 0a 28 64 65 66 76 61 72 | 20 75 72 6c 2d 67 61 74 |.(defvar| url-gat|
|00004310| 65 77 61 79 2d 73 68 65 | 6c 6c 2d 69 73 2d 74 65 |eway-she|ll-is-te|
|00004320| 6c 6e 65 74 20 6e 69 6c | 20 22 5c 0a 2a 57 68 65 |lnet nil| "\.*Whe|
|00004330| 74 68 65 72 20 74 68 65 | 20 6c 6f 67 69 6e 20 73 |ther the| login s|
|00004340| 68 65 6c 6c 20 6f 66 20 | 74 68 65 20 72 65 6d 6f |hell of |the remo|
|00004350| 74 65 20 68 6f 73 74 20 | 69 73 20 74 65 6c 6e 65 |te host |is telne|
|00004360| 74 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |t.").(de|fvar url|
|00004370| 2d 67 61 74 65 77 61 79 | 2d 70 72 6f 67 72 61 6d |-gateway|-program|
|00004380| 2d 69 6e 74 65 72 61 63 | 74 69 76 65 20 6e 69 6c |-interac|tive nil|
|00004390| 20 22 5c 0a 2a 57 68 65 | 74 68 65 72 20 75 72 6c | "\.*Whe|ther url|
|000043a0| 20 6e 65 65 64 73 20 74 | 6f 20 68 61 6e 64 2d 68 | needs t|o hand-h|
|000043b0| 6f 6c 64 20 74 68 65 20 | 6c 6f 67 69 6e 20 70 72 |old the |login pr|
|000043c0| 6f 67 72 61 6d 20 6f 6e | 20 74 68 65 20 72 65 6d |ogram on| the rem|
|000043d0| 6f 74 65 20 6d 61 63 68 | 69 6e 65 2e 22 29 0a 28 |ote mach|ine.").(|
|000043e0| 64 65 66 76 61 72 20 75 | 72 6c 2d 67 61 74 65 77 |defvar u|rl-gatew|
|000043f0| 61 79 2d 68 61 6e 64 68 | 6f 6c 64 69 6e 67 2d 6c |ay-handh|olding-l|
|00004400| 6f 67 69 6e 2d 72 65 67 | 65 78 70 20 22 6f 67 69 |ogin-reg|exp "ogi|
|00004410| 6e 3a 22 20 22 5c 0a 2a | 52 65 67 65 78 70 20 66 |n:" "\.*|Regexp f|
|00004420| 6f 72 20 77 68 65 6e 20 | 74 6f 20 73 65 6e 64 20 |or when |to send |
|00004430| 74 68 65 20 75 73 65 72 | 6e 61 6d 65 20 74 6f 20 |the user|name to |
|00004440| 74 68 65 20 72 65 6d 6f | 74 65 20 70 72 6f 63 65 |the remo|te proce|
|00004450| 73 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 75 72 |ss.").(d|efvar ur|
|00004460| 6c 2d 67 61 74 65 77 61 | 79 2d 68 61 6e 64 68 6f |l-gatewa|y-handho|
|00004470| 6c 64 69 6e 67 2d 70 61 | 73 73 77 6f 72 64 2d 72 |lding-pa|ssword-r|
|00004480| 65 67 65 78 70 20 22 6f | 72 64 3a 22 20 22 5c 0a |egexp "o|rd:" "\.|
|00004490| 2a 52 65 67 65 78 70 20 | 66 6f 72 20 77 68 65 6e |*Regexp |for when|
|000044a0| 20 74 6f 20 73 65 6e 64 | 20 74 68 65 20 70 61 73 | to send| the pas|
|000044b0| 73 77 6f 72 64 20 74 6f | 20 74 68 65 20 72 65 6d |sword to| the rem|
|000044c0| 6f 74 65 20 70 72 6f 63 | 65 73 73 2e 22 29 0a 28 |ote proc|ess.").(|
|000044d0| 64 65 66 76 61 72 20 75 | 72 6c 2d 67 61 74 65 77 |defvar u|rl-gatew|
|000044e0| 61 79 2d 68 6f 73 74 2d | 70 72 6f 6d 70 74 2d 70 |ay-host-|prompt-p|
|000044f0| 61 74 74 65 72 6e 20 22 | 5e 5b 5e 23 24 25 3e 3b |attern "|^[^#$%>;|
|00004500| 5d 2a 5b 23 24 25 3e 3b | 5d 20 2a 22 20 22 5c 0a |]*[#$%>;|] *" "\.|
|00004510| 2a 52 65 67 65 78 70 20 | 75 73 65 64 20 74 6f 20 |*Regexp |used to |
|00004520| 64 65 74 65 63 74 20 77 | 68 65 6e 20 74 68 65 20 |detect w|hen the |
|00004530| 6c 6f 67 69 6e 20 69 73 | 20 66 69 6e 69 73 68 65 |login is| finishe|
|00004540| 64 20 6f 6e 20 74 68 65 | 20 72 65 6d 6f 74 65 20 |d on the| remote |
|00004550| 68 6f 73 74 2e 22 29 0a | 28 64 65 66 76 61 72 20 |host.").|(defvar |
|00004560| 75 72 6c 2d 67 61 74 65 | 77 61 79 2d 74 65 6c 6e |url-gate|way-teln|
|00004570| 65 74 2d 72 65 61 64 79 | 2d 72 65 67 65 78 70 20 |et-ready|-regexp |
|00004580| 22 45 73 63 61 70 65 20 | 63 68 61 72 61 63 74 65 |"Escape |characte|
|00004590| 72 20 69 73 20 2e 2a 22 | 20 22 5c 0a 2a 41 20 72 |r is .*"| "\.*A r|
|000045a0| 65 67 75 6c 61 72 20 65 | 78 70 72 65 73 73 69 6f |egular e|xpressio|
|000045b0| 6e 20 74 68 61 74 20 73 | 69 67 6e 69 66 69 65 73 |n that s|ignifies|
|000045c0| 20 75 72 6c 2d 67 61 74 | 65 77 61 79 2d 74 65 6c | url-gat|eway-tel|
|000045d0| 6e 65 74 2d 70 72 6f 67 | 72 61 6d 20 69 73 0a 72 |net-prog|ram is.r|
|000045e0| 65 61 64 79 20 74 6f 20 | 61 63 63 65 70 74 20 69 |eady to |accept i|
|000045f0| 6e 70 75 74 2e 22 29 0a | 28 64 65 66 76 61 72 20 |nput.").|(defvar |
|00004600| 75 72 6c 2d 6c 6f 63 61 | 6c 2d 72 6c 6f 67 69 6e |url-loca|l-rlogin|
|00004610| 2d 70 72 6f 67 20 22 72 | 6c 6f 67 69 6e 22 20 22 |-prog "r|login" "|
|00004620| 5c 0a 2a 50 72 6f 67 72 | 61 6d 20 66 6f 72 20 6c |\.*Progr|am for l|
|00004630| 6f 63 61 6c 20 74 65 6c | 6e 65 74 20 63 6f 6e 6e |ocal tel|net conn|
|00004640| 65 63 74 69 6f 6e 73 2e | 22 29 0a 28 64 65 66 76 |ections.|").(defv|
|00004650| 61 72 20 75 72 6c 2d 72 | 65 6d 6f 74 65 2d 72 6c |ar url-r|emote-rl|
|00004660| 6f 67 69 6e 2d 70 72 6f | 67 20 22 72 6c 6f 67 69 |ogin-pro|g "rlogi|
|00004670| 6e 22 20 22 5c 0a 2a 50 | 72 6f 67 72 61 6d 20 66 |n" "\.*P|rogram f|
|00004680| 6f 72 20 72 65 6d 6f 74 | 65 20 74 65 6c 6e 65 74 |or remot|e telnet|
|00004690| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 73 2e 22 29 0a | connect|ions.").|
|000046a0| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 6c 6f 63 61 |(defvar |url-loca|
|000046b0| 6c 2d 74 65 6c 6e 65 74 | 2d 70 72 6f 67 20 22 74 |l-telnet|-prog "t|
|000046c0| 65 6c 6e 65 74 22 20 22 | 5c 0a 2a 50 72 6f 67 72 |elnet" "|\.*Progr|
|000046d0| 61 6d 20 66 6f 72 20 6c | 6f 63 61 6c 20 74 65 6c |am for l|ocal tel|
|000046e0| 6e 65 74 20 63 6f 6e 6e | 65 63 74 69 6f 6e 73 2e |net conn|ections.|
|000046f0| 22 29 0a 28 64 65 66 76 | 61 72 20 75 72 6c 2d 72 |").(defv|ar url-r|
|00004700| 65 6d 6f 74 65 2d 74 65 | 6c 6e 65 74 2d 70 72 6f |emote-te|lnet-pro|
|00004710| 67 20 22 74 65 6c 6e 65 | 74 22 20 22 5c 0a 2a 50 |g "telne|t" "\.*P|
|00004720| 72 6f 67 72 61 6d 20 66 | 6f 72 20 72 65 6d 6f 74 |rogram f|or remot|
|00004730| 65 20 74 65 6c 6e 65 74 | 20 63 6f 6e 6e 65 63 74 |e telnet| connect|
|00004740| 69 6f 6e 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ions.").|(defvar |
|00004750| 75 72 6c 2d 67 61 74 65 | 77 61 79 2d 74 65 6c 6e |url-gate|way-teln|
|00004760| 65 74 2d 70 72 6f 67 72 | 61 6d 20 22 69 74 65 6c |et-progr|am "itel|
|00004770| 6e 65 74 22 20 22 5c 0a | 2a 50 72 6f 67 72 61 6d |net" "\.|*Program|
|00004780| 20 74 6f 20 72 75 6e 20 | 69 6e 20 61 20 73 75 62 | to run |in a sub|
|00004790| 70 72 6f 63 65 73 73 20 | 77 68 65 6e 20 75 73 69 |process |when usi|
|000047a0| 6e 67 20 67 61 74 65 77 | 61 79 2d 6d 65 74 68 6f |ng gatew|ay-metho|
|000047b0| 64 20 27 70 72 6f 67 72 | 61 6d 2e 22 29 0a 28 64 |d 'progr|am.").(d|
|000047c0| 65 66 76 61 72 20 75 72 | 6c 2d 67 61 74 65 77 61 |efvar ur|l-gatewa|
|000047d0| 79 2d 6c 6f 63 61 6c 2d | 68 6f 73 74 2d 72 65 67 |y-local-|host-reg|
|000047e0| 65 78 70 20 6e 69 6c 20 | 22 5c 0a 2a 49 66 20 61 |exp nil |"\.*If a|
|000047f0| 20 68 6f 73 74 20 62 65 | 69 6e 67 20 63 6f 6e 6e | host be|ing conn|
|00004800| 65 63 74 65 64 20 74 6f | 20 6d 61 74 63 68 65 73 |ected to| matches|
|00004810| 20 74 68 69 73 20 72 65 | 67 65 78 70 20 74 68 65 | this re|gexp the|
|00004820| 6e 20 74 68 65 0a 63 6f | 6e 6e 65 63 74 69 6f 6e |n the.co|nnection|
|00004830| 20 69 73 20 64 6f 6e 65 | 20 6e 61 74 69 76 65 6c | is done| nativel|
|00004840| 79 2c 20 6f 74 68 65 72 | 77 69 73 65 20 74 68 65 |y, other|wise the|
|00004850| 20 70 72 6f 63 65 73 73 | 20 69 73 20 73 74 61 72 | process| is star|
|00004860| 74 65 64 20 6f 6e 0a 60 | 75 72 6c 2d 67 61 74 65 |ted on.`|url-gate|
|00004870| 77 61 79 2d 68 6f 73 74 | 27 20 69 6e 73 74 65 61 |way-host|' instea|
|00004880| 64 2e 22 29 0a 28 64 65 | 66 76 61 72 20 75 72 6c |d.").(de|fvar url|
|00004890| 2d 75 73 65 2d 68 79 70 | 65 72 74 65 78 74 2d 64 |-use-hyp|ertext-d|
|000048a0| 69 72 65 64 20 74 20 22 | 5c 0a 2a 48 6f 77 20 74 |ired t "|\.*How t|
|000048b0| 6f 20 66 6f 72 6d 61 74 | 20 64 69 72 65 63 74 6f |o format| directo|
|000048c0| 72 79 20 6c 69 73 74 69 | 6e 67 73 2e 0a 0a 49 66 |ry listi|ngs...If|
|000048d0| 20 76 61 6c 75 65 20 69 | 73 20 6e 6f 6e 2d 6e 69 | value i|s non-ni|
|000048e0| 6c 2c 20 75 73 65 20 64 | 69 72 65 63 74 6f 72 79 |l, use d|irectory|
|000048f0| 2d 66 69 6c 65 73 20 74 | 6f 20 6c 69 73 74 20 74 |-files t|o list t|
|00004900| 68 65 6d 20 6f 75 74 20 | 61 6e 64 0a 74 72 61 6e |hem out |and.tran|
|00004910| 73 66 6f 72 6d 20 74 68 | 65 6d 20 69 6e 74 6f 20 |sform th|em into |
|00004920| 61 20 68 79 70 65 72 74 | 65 78 74 20 64 6f 63 75 |a hypert|ext docu|
|00004930| 6d 65 6e 74 2c 20 74 68 | 65 6e 20 70 61 73 73 20 |ment, th|en pass |
|00004940| 69 74 20 74 68 72 6f 75 | 67 68 20 74 68 65 0a 70 |it throu|gh the.p|
|00004950| 61 72 73 65 20 6c 69 6b | 65 20 61 6e 79 20 6f 74 |arse lik|e any ot|
|00004960| 68 65 72 20 64 6f 63 75 | 6d 65 6e 74 2e 0a 0a 49 |her docu|ment...I|
|00004970| 66 20 76 61 6c 75 65 20 | 6e 69 6c 2c 20 6a 75 73 |f value |nil, jus|
|00004980| 74 20 70 61 73 73 20 74 | 68 65 20 64 69 72 65 63 |t pass t|he direc|
|00004990| 74 6f 72 79 20 6f 66 66 | 20 74 6f 20 64 69 72 65 |tory off| to dire|
|000049a0| 64 20 75 73 69 6e 67 20 | 66 69 6e 64 2d 66 69 6c |d using |find-fil|
|000049b0| 65 2e 22 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |e.").(by|te-code |
|000049c0| 22 c0 11 c2 87 22 20 5b | 28 28 22 4a 61 6e 22 20 |"...." [|(("Jan" |
|000049d0| 2e 20 31 29 20 28 22 46 | 65 62 22 20 2e 20 32 29 |. 1) ("F|eb" . 2)|
|000049e0| 20 28 22 4d 61 72 22 20 | 2e 20 33 29 20 28 22 41 | ("Mar" |. 3) ("A|
|000049f0| 70 72 22 20 2e 20 34 29 | 20 28 22 4d 61 79 22 20 |pr" . 4)| ("May" |
|00004a00| 2e 20 35 29 20 28 22 4a | 75 6e 22 20 2e 20 36 29 |. 5) ("J|un" . 6)|
|00004a10| 20 28 22 4a 75 6c 22 20 | 2e 20 37 29 20 28 22 41 | ("Jul" |. 7) ("A|
|00004a20| 75 67 22 20 2e 20 38 29 | 20 28 22 53 65 70 22 20 |ug" . 8)| ("Sep" |
|00004a30| 2e 20 39 29 20 28 22 4f | 63 74 22 20 2e 20 31 30 |. 9) ("O|ct" . 10|
|00004a40| 29 20 28 22 4e 6f 76 22 | 20 2e 20 31 31 29 20 28 |) ("Nov"| . 11) (|
|00004a50| 22 44 65 63 22 20 2e 20 | 31 32 29 29 20 6d 6f 6e |"Dec" . |12)) mon|
|00004a60| 74 68 61 62 62 72 65 76 | 2d 61 6c 69 73 74 20 6e |thabbrev|-alist n|
|00004a70| 69 6c 5d 20 31 29 0a 28 | 64 65 66 76 61 72 20 75 |il] 1).(|defvar u|
|00004a80| 72 6c 2d 64 65 66 61 75 | 6c 74 2d 70 6f 72 74 73 |rl-defau|lt-ports|
|00004a90| 20 27 28 28 22 68 74 74 | 70 22 20 2e 20 22 38 30 | '(("htt|p" . "80|
|00004aa0| 22 29 20 28 22 67 6f 70 | 68 65 72 22 20 2e 20 22 |") ("gop|her" . "|
|00004ab0| 37 30 22 29 20 28 22 74 | 65 6c 6e 65 74 22 20 2e |70") ("t|elnet" .|
|00004ac0| 20 22 32 33 22 29 20 28 | 22 6e 65 77 73 22 20 2e | "23") (|"news" .|
|00004ad0| 20 22 31 31 39 22 29 20 | 28 22 68 74 74 70 73 22 | "119") |("https"|
|00004ae0| 20 2e 20 22 34 34 33 22 | 29 20 28 22 73 68 74 74 | . "443"|) ("shtt|
|00004af0| 70 22 20 2e 20 22 38 30 | 22 29 29 20 22 5c 0a 41 |p" . "80|")) "\.A|
|00004b00| 6e 20 61 73 73 6f 63 20 | 6c 69 73 74 20 6f 66 20 |n assoc |list of |
|00004b10| 70 72 6f 74 6f 63 6f 6c | 73 20 61 6e 64 20 64 65 |protocol|s and de|
|00004b20| 66 61 75 6c 74 20 70 6f | 72 74 20 23 73 22 29 0a |fault po|rt #s").|
|00004b30| 28 64 65 66 76 61 72 20 | 75 72 6c 2d 73 65 74 75 |(defvar |url-setu|
|00004b40| 70 2d 64 6f 6e 65 20 6e | 69 6c 20 22 5c 0a 2a 48 |p-done n|il "\.*H|
|00004b50| 61 73 20 73 65 74 75 70 | 20 63 6f 6e 66 69 67 75 |as setup| configu|
|00004b60| 72 61 74 69 6f 6e 20 62 | 65 65 6e 20 64 6f 6e 65 |ration b|een done|
|00004b70| 3f 22 29 0a 28 64 65 66 | 76 61 72 20 75 72 6c 2d |?").(def|var url-|
|00004b80| 73 6f 75 72 63 65 20 6e | 69 6c 20 22 5c 0a 2a 57 |source n|il "\.*W|
|00004b90| 68 65 74 68 65 72 20 74 | 6f 20 66 6f 72 63 65 20 |hether t|o force |
|00004ba0| 61 20 73 6f 75 72 63 69 | 6e 67 20 6f 66 20 74 68 |a sourci|ng of th|
|00004bb0| 65 20 6e 65 78 74 20 62 | 75 66 66 65 72 2e 20 20 |e next b|uffer. |
|00004bc0| 54 68 69 73 20 66 6f 72 | 63 65 73 20 6c 6f 63 61 |This for|ces loca|
|00004bd0| 6c 0a 66 69 6c 65 73 20 | 74 6f 20 62 65 20 72 65 |l.files |to be re|
|00004be0| 61 64 20 69 6e 74 6f 20 | 61 20 62 75 66 66 65 72 |ad into |a buffer|
|00004bf0| 2c 20 6e 6f 20 6d 61 74 | 74 65 72 20 77 68 61 74 |, no mat|ter what|
|00004c00| 2e 20 20 47 65 74 73 20 | 61 72 6f 75 6e 64 20 74 |. Gets |around t|
|00004c10| 68 65 0a 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |he.optim|ization |
|00004c20| 74 68 61 74 20 69 66 20 | 79 6f 75 20 61 72 65 20 |that if |you are |
|00004c30| 70 61 73 73 69 6e 67 20 | 69 74 20 74 6f 20 61 20 |passing |it to a |
|00004c40| 76 69 65 77 65 72 2c 20 | 6a 75 73 74 20 6d 61 6b |viewer, |just mak|
|00004c50| 65 20 61 0a 73 79 6d 62 | 6f 6c 69 63 20 6c 69 6e |e a.symb|olic lin|
|00004c60| 6b 2c 20 77 68 69 63 68 | 20 6c 6f 6f 73 65 73 20 |k, which| looses |
|00004c70| 69 66 20 79 6f 75 20 77 | 61 6e 74 20 74 68 65 20 |if you w|ant the |
|00004c80| 73 6f 75 72 63 65 20 66 | 6f 72 20 69 6e 6c 69 6e |source f|or inlin|
|00004c90| 65 64 0a 69 6d 61 67 65 | 73 2f 65 74 63 2e 22 29 |ed.image|s/etc.")|
|00004ca0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 4d |.(byte-c|ode "..M|
|00004cb0| 88 c2 c3 4d 88 c4 c5 4d | 88 c6 c7 4d 88 c8 c9 ca |...M...M|...M....|
|00004cc0| c6 23 88 c8 cb ca c4 23 | 88 c8 cc ca c6 23 88 c8 |.#.....#|.....#..|
|00004cd0| cd ca c4 23 88 c8 ce ca | cf 23 88 c8 d0 ca d1 23 |...#....|.#.....#|
|00004ce0| 88 c8 d2 ca d3 23 88 c8 | c9 ca d4 23 88 c8 cc ca |.....#..|...#....|
|00004cf0| d5 23 88 c8 d6 ca d7 23 | 88 c8 d8 ca d9 23 88 c8 |.#.....#|.....#..|
|00004d00| da ca d9 23 88 c8 db ca | d7 23 88 c8 dc ca dd 23 |...#....|.#.....#|
|00004d10| 88 c8 de ca df 23 88 c8 | e0 ca e1 23 88 c8 e2 ca |.....#..|...#....|
|00004d20| e3 23 88 c8 e4 ca e5 23 | 88 e6 e7 4d 88 e8 e9 4d |.#.....#|...M...M|
|00004d30| 88 ea eb 4d 88 ec ed 4d | 88 ee ef 4d 88 f0 f1 4d |...M...M|...M...M|
|00004d40| 88 f2 f3 4d 88 f4 f5 4d | 88 f6 f7 4d 88 f8 f9 4d |...M...M|...M...M|
|00004d50| 88 fa fb 4d 88 fc fd 4d | 88 fe ff 4d 88 81 40 00 |...M...M|...M..@.|
|00004d60| 81 41 00 4d 88 81 42 00 | 81 43 00 4d 88 81 44 00 |.A.M..B.|.C.M..D.|
|00004d70| 81 45 00 4d 88 81 46 00 | 81 47 00 4d 87 22 20 5b |.E.M..F.|.G.M." [|
|00004d80| 75 72 6c 2d 73 65 74 75 | 70 2d 66 69 6c 65 2d 6e |url-setu|p-file-n|
|00004d90| 61 6d 65 2d 68 61 6e 64 | 6c 65 72 73 20 23 5b 6e |ame-hand|lers #[n|
|00004da0| 69 6c 20 22 c0 87 22 20 | 5b 28 63 6f 6e 64 20 28 |il ".." |[(cond (|
|00004db0| 28 6e 6f 74 20 28 62 6f | 75 6e 64 70 20 27 66 69 |(not (bo|undp 'fi|
|00004dc0| 6c 65 2d 6e 61 6d 65 2d | 68 61 6e 64 6c 65 72 2d |le-name-|handler-|
|00004dd0| 61 6c 69 73 74 29 29 20 | 6e 69 6c 29 20 28 28 72 |alist)) |nil) ((r|
|00004de0| 61 73 73 71 20 27 75 72 | 6c 2d 66 69 6c 65 2d 68 |assq 'ur|l-file-h|
|00004df0| 61 6e 64 6c 65 72 20 66 | 69 6c 65 2d 6e 61 6d 65 |andler f|ile-name|
|00004e00| 2d 68 61 6e 64 6c 65 72 | 2d 61 6c 69 73 74 29 20 |-handler|-alist) |
|00004e10| 6e 69 6c 29 20 28 28 61 | 6e 64 20 28 73 74 72 69 |nil) ((a|nd (stri|
|00004e20| 6e 67 2d 6d 61 74 63 68 | 20 22 58 45 6d 61 63 73 |ng-match| "XEmacs|
|00004e30| 5c 5c 7c 4c 75 63 69 64 | 22 20 65 6d 61 63 73 2d |\\|Lucid|" emacs-|
|00004e40| 76 65 72 73 69 6f 6e 29 | 20 28 3c 20 75 72 6c 2d |version)| (< url-|
|00004e50| 65 6d 61 63 73 2d 6d 69 | 6e 6f 72 2d 76 65 72 73 |emacs-mi|nor-vers|
|00004e60| 69 6f 6e 20 31 31 29 29 | 20 6e 69 6c 29 20 28 74 |ion 11))| nil) (t|
|00004e70| 20 28 73 65 74 71 20 66 | 69 6c 65 2d 6e 61 6d 65 | (setq f|ile-name|
|00004e80| 2d 68 61 6e 64 6c 65 72 | 2d 61 6c 69 73 74 20 28 |-handler|-alist (|
|00004e90| 6c 65 74 20 28 28 6e 65 | 77 2d 68 61 6e 64 6c 65 |let ((ne|w-handle|
|00004ea0| 72 20 28 63 6f 6e 73 20 | 28 63 6f 6e 63 61 74 20 |r (cons |(concat |
|00004eb0| 22 5e 2f 2a 22 20 28 73 | 75 62 73 74 72 69 6e 67 |"^/*" (s|ubstring|
|00004ec0| 20 75 72 6c 2d 6e 6f 6e | 72 65 6c 61 74 69 76 65 | url-non|relative|
|00004ed0| 2d 6c 69 6e 6b 31 20 6e | 69 6c 29 29 20 27 75 72 |-link1 n|il)) 'ur|
|00004ee0| 6c 2d 66 69 6c 65 2d 68 | 61 6e 64 6c 65 72 29 29 |l-file-h|andler))|
|00004ef0| 29 20 28 69 66 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |) (if fi|le-name-|
|00004f00| 68 61 6e 64 6c 65 72 2d | 61 6c 69 73 74 20 28 61 |handler-|alist (a|
|00004f10| 70 70 65 6e 64 20 28 6c | 69 73 74 20 6e 65 77 2d |ppend (l|ist new-|
|00004f20| 68 61 6e 64 6c 65 72 29 | 20 66 69 6c 65 2d 6e 61 |handler)| file-na|
|00004f30| 6d 65 2d 68 61 6e 64 6c | 65 72 2d 61 6c 69 73 74 |me-handl|er-alist|
|00004f40| 29 20 28 6c 69 73 74 20 | 6e 65 77 2d 68 61 6e 64 |) (list |new-hand|
|00004f50| 6c 65 72 29 29 29 29 29 | 29 5d 20 31 5d 20 75 72 |ler)))))|)] 1] ur|
|00004f60| 6c 2d 66 69 6c 65 2d 68 | 61 6e 64 6c 65 72 20 23 |l-file-h|andler #|
|00004f70| 5b 28 6f 70 65 72 61 74 | 69 6f 6e 20 26 72 65 73 |[(operat|ion &res|
|00004f80| 74 20 61 72 67 73 29 20 | 22 08 c1 4e 5c 6e 40 5c |t args) |"..N\n@\|
|00004f90| 6e 41 1b 1c 1d c6 0c 21 | c7 55 ab 85 0c c8 c9 4f |nA.....!|.U.....O|
|00004fa0| 14 0d ab 87 ca 0d 0c 0b | 23 aa 89 c9 1e 0b ca 08 |........|#.......|
|00004fb0| 0c 0b 23 29 2b 87 22 20 | 5b 6f 70 65 72 61 74 69 |..#)+." |[operati|
|00004fc0| 6f 6e 20 75 72 6c 2d 66 | 69 6c 65 2d 68 61 6e 64 |on url-f|ile-hand|
|00004fd0| 6c 65 72 73 20 61 72 67 | 73 20 6d 79 61 72 67 73 |lers arg|s myargs|
|00004fe0| 20 75 72 6c 20 66 6e 20 | 73 74 72 69 6e 67 2d 74 | url fn |string-t|
|00004ff0| 6f 2d 63 68 61 72 20 34 | 37 20 31 20 6e 69 6c 20 |o-char 4|7 1 nil |
|00005000| 61 70 70 6c 79 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |apply fi|le-name-|
|00005010| 68 61 6e 64 6c 65 72 2d | 61 6c 69 73 74 5d 20 34 |handler-|alist] 4|
|00005020| 5d 20 75 72 6c 2d 66 69 | 6c 65 2d 68 61 6e 64 6c |] url-fi|le-handl|
|00005030| 65 72 2d 69 64 65 6e 74 | 69 74 79 20 23 5b 28 26 |er-ident|ity #[(&|
|00005040| 72 65 73 74 20 61 72 67 | 73 29 20 22 08 40 87 22 |rest arg|s) ".@."|
|00005050| 20 5b 61 72 67 73 5d 20 | 31 5d 20 75 72 6c 2d 66 | [args] |1] url-f|
|00005060| 69 6c 65 2d 68 61 6e 64 | 6c 65 72 2d 6e 75 6c 6c |ile-hand|ler-null|
|00005070| 20 28 6c 61 6d 62 64 61 | 20 28 26 72 65 73 74 20 | (lambda| (&rest |
|00005080| 61 72 67 73 29 29 20 70 | 75 74 20 66 69 6c 65 2d |args)) p|ut file-|
|00005090| 64 69 72 65 63 74 6f 72 | 79 2d 70 20 75 72 6c 2d |director|y-p url-|
|000050a0| 66 69 6c 65 2d 68 61 6e | 64 6c 65 72 73 20 73 75 |file-han|dlers su|
|000050b0| 62 73 74 69 74 75 74 65 | 2d 69 6e 2d 66 69 6c 65 |bstitute|-in-file|
|000050c0| 2d 6e 61 6d 65 20 66 69 | 6c 65 2d 77 72 69 74 61 |-name fi|le-writa|
|000050d0| 62 6c 65 2d 70 20 66 69 | 6c 65 2d 74 72 75 65 6e |ble-p fi|le-truen|
|000050e0| 61 6d 65 20 69 6e 73 65 | 72 74 2d 66 69 6c 65 2d |ame inse|rt-file-|
|000050f0| 63 6f 6e 74 65 6e 74 73 | 20 75 72 6c 2d 69 6e 73 |contents| url-ins|
|00005100| 65 72 74 2d 66 69 6c 65 | 2d 63 6f 6e 74 65 6e 74 |ert-file|-content|
|00005110| 73 20 65 78 70 61 6e 64 | 2d 66 69 6c 65 2d 6e 61 |s expand|-file-na|
|00005120| 6d 65 20 75 72 6c 2d 65 | 78 70 61 6e 64 2d 66 69 |me url-e|xpand-fi|
|00005130| 6c 65 2d 6e 61 6d 65 20 | 64 69 72 65 63 74 6f 72 |le-name |director|
|00005140| 79 2d 66 69 6c 65 73 20 | 75 72 6c 2d 64 69 72 65 |y-files |url-dire|
|00005150| 63 74 6f 72 79 2d 66 69 | 6c 65 73 20 75 72 6c 2d |ctory-fi|les url-|
|00005160| 66 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 2d 70 |file-dir|ectory-p|
|00005170| 20 75 72 6c 2d 66 69 6c | 65 2d 77 72 69 74 61 62 | url-fil|e-writab|
|00005180| 6c 65 2d 70 20 66 69 6c | 65 2d 72 65 61 64 61 62 |le-p fil|e-readab|
|00005190| 6c 65 2d 70 20 75 72 6c | 2d 66 69 6c 65 2d 65 78 |le-p url|-file-ex|
|000051a0| 69 73 74 73 20 66 69 6c | 65 2d 65 78 65 63 75 74 |ists fil|e-execut|
|000051b0| 61 62 6c 65 2d 70 20 6e | 75 6c 6c 20 66 69 6c 65 |able-p n|ull file|
|000051c0| 2d 73 79 6d 6c 69 6e 6b | 2d 70 20 66 69 6c 65 2d |-symlink|-p file-|
|000051d0| 65 78 69 73 74 73 2d 70 | 20 63 6f 70 79 2d 66 69 |exists-p| copy-fi|
|000051e0| 6c 65 20 75 72 6c 2d 63 | 6f 70 79 2d 66 69 6c 65 |le url-c|opy-file|
|000051f0| 20 66 69 6c 65 2d 61 74 | 74 72 69 62 75 74 65 73 | file-at|tributes|
|00005200| 20 75 72 6c 2d 66 69 6c | 65 2d 61 74 74 72 69 62 | url-fil|e-attrib|
|00005210| 75 74 65 73 20 66 69 6c | 65 2d 6e 61 6d 65 2d 61 |utes fil|e-name-a|
|00005220| 6c 6c 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 73 20 75 |ll-compl|etions u|
|00005230| 72 6c 2d 66 69 6c 65 2d | 6e 61 6d 65 2d 61 6c 6c |rl-file-|name-all|
|00005240| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 20 66 69 6c |-complet|ions fil|
|00005250| 65 2d 6e 61 6d 65 2d 63 | 6f 6d 70 6c 65 74 69 6f |e-name-c|ompletio|
|00005260| 6e 20 75 72 6c 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d |n url-fi|le-name-|
|00005270| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 66 69 6c 65 2d |completi|on file-|
|00005280| 6c 6f 63 61 6c 2d 63 6f | 70 79 20 75 72 6c 2d 66 |local-co|py url-f|
|00005290| 69 6c 65 2d 6c 6f 63 61 | 6c 2d 63 6f 70 79 20 75 |ile-loca|l-copy u|
|000052a0| 72 6c 2d 74 79 70 65 20 | 28 6d 61 63 72 6f 20 2e |rl-type |(macro .|
|000052b0| 20 23 5b 28 75 72 6c 6f | 62 6a 29 20 22 c0 09 c2 | #[(urlo|bj) "...|
|000052c0| 42 42 87 22 20 5b 61 72 | 65 66 20 75 72 6c 6f 62 |BB." [ar|ef urlob|
|000052d0| 6a 20 28 30 29 5d 20 33 | 5d 29 20 75 72 6c 2d 75 |j (0)] 3|]) url-u|
|000052e0| 73 65 72 20 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |ser (mac|ro . #[(|
|000052f0| 75 72 6c 6f 62 6a 29 20 | 22 c0 09 c2 42 42 87 22 |urlobj) |"...BB."|
|00005300| 20 5b 61 72 65 66 20 75 | 72 6c 6f 62 6a 20 28 31 | [aref u|rlobj (1|
|00005310| 29 5d 20 33 5d 29 20 75 | 72 6c 2d 70 61 73 73 77 |)] 3]) u|rl-passw|
|00005320| 6f 72 64 20 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |ord (mac|ro . #[(|
|00005330| 75 72 6c 6f 62 6a 29 20 | 22 c0 09 c2 42 42 87 22 |urlobj) |"...BB."|
|00005340| 20 5b 61 72 65 66 20 75 | 72 6c 6f 62 6a 20 28 32 | [aref u|rlobj (2|
|00005350| 29 5d 20 33 5d 29 20 75 | 72 6c 2d 68 6f 73 74 20 |)] 3]) u|rl-host |
|00005360| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 75 72 6c 6f |(macro .| #[(urlo|
|00005370| 62 6a 29 20 22 c0 09 c2 | 42 42 87 22 20 5b 61 72 |bj) "...|BB." [ar|
|00005380| 65 66 20 75 72 6c 6f 62 | 6a 20 28 33 29 5d 20 33 |ef urlob|j (3)] 3|
|00005390| 5d 29 20 75 72 6c 2d 66 | 75 6c 6c 6e 65 73 73 20 |]) url-f|ullness |
|000053a0| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 75 72 6c 6f |(macro .| #[(urlo|
|000053b0| 62 6a 29 20 22 c0 09 c2 | 42 42 87 22 20 5b 61 72 |bj) "...|BB." [ar|
|000053c0| 65 66 20 75 72 6c 6f 62 | 6a 20 28 37 29 5d 20 33 |ef urlob|j (7)] 3|
|000053d0| 5d 29 20 75 72 6c 2d 70 | 6f 72 74 20 28 6d 61 63 |]) url-p|ort (mac|
|000053e0| 72 6f 20 2e 20 23 5b 28 | 75 72 6c 6f 62 6a 29 20 |ro . #[(|urlobj) |
|000053f0| 22 c0 c1 5c 6e c3 42 42 | c4 c5 5c 6e 44 c6 c7 c8 |"..\n.BB|..\nD...|
|00005400| 5c 6e 44 c9 42 42 44 45 | 45 87 22 20 5b 6f 72 20 |\nD.BBDE|E." [or |
|00005410| 61 72 65 66 20 75 72 6c | 6f 62 6a 20 28 34 29 20 |aref url|obj (4) |
|00005420| 69 66 20 75 72 6c 2d 66 | 75 6c 6c 6e 65 73 73 20 |if url-f|ullness |
|00005430| 63 64 72 2d 73 61 66 65 | 20 61 73 73 6f 63 20 75 |cdr-safe| assoc u|
|00005440| 72 6c 2d 74 79 70 65 20 | 28 75 72 6c 2d 64 65 66 |rl-type |(url-def|
|00005450| 61 75 6c 74 2d 70 6f 72 | 74 73 29 5d 20 38 5d 29 |ault-por|ts)] 8])|
|00005460| 20 75 72 6c 2d 66 69 6c | 65 6e 61 6d 65 20 28 6d | url-fil|ename (m|
|00005470| 61 63 72 6f 20 2e 20 23 | 5b 28 75 72 6c 6f 62 6a |acro . #|[(urlobj|
|00005480| 29 20 22 c0 09 c2 42 42 | 87 22 20 5b 61 72 65 66 |) "...BB|." [aref|
|00005490| 20 75 72 6c 6f 62 6a 20 | 28 35 29 5d 20 33 5d 29 | urlobj |(5)] 3])|
|000054a0| 20 75 72 6c 2d 74 61 72 | 67 65 74 20 28 6d 61 63 | url-tar|get (mac|
|000054b0| 72 6f 20 2e 20 23 5b 28 | 75 72 6c 6f 62 6a 29 20 |ro . #[(|urlobj) |
|000054c0| 22 c0 09 c2 42 42 87 22 | 20 5b 61 72 65 66 20 75 |"...BB."| [aref u|
|000054d0| 72 6c 6f 62 6a 20 28 36 | 29 5d 20 33 5d 29 20 75 |rlobj (6|)] 3]) u|
|000054e0| 72 6c 2d 73 65 74 2d 74 | 79 70 65 20 28 6d 61 63 |rl-set-t|ype (mac|
|000054f0| 72 6f 20 2e 20 23 5b 28 | 75 72 6c 6f 62 6a 20 74 |ro . #[(|urlobj t|
|00005500| 79 70 65 29 20 22 c0 09 | c2 0b 46 87 22 20 5b 61 |ype) "..|..F." [a|
|00005510| 73 65 74 20 75 72 6c 6f | 62 6a 20 30 20 74 79 70 |set urlo|bj 0 typ|
|00005520| 65 5d 20 34 5d 29 20 75 | 72 6c 2d 73 65 74 2d 75 |e] 4]) u|rl-set-u|
|00005530| 73 65 72 20 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |ser (mac|ro . #[(|
|00005540| 75 72 6c 6f 62 6a 20 75 | 73 65 72 29 20 22 c0 09 |urlobj u|ser) "..|
|00005550| c2 0b 46 87 22 20 5b 61 | 73 65 74 20 75 72 6c 6f |..F." [a|set urlo|
|00005560| 62 6a 20 31 20 75 73 65 | 72 5d 20 34 5d 29 20 75 |bj 1 use|r] 4]) u|
|00005570| 72 6c 2d 73 65 74 2d 70 | 61 73 73 77 6f 72 64 20 |rl-set-p|assword |
|00005580| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 75 72 6c 6f |(macro .| #[(urlo|
|00005590| 62 6a 20 70 61 73 73 29 | 20 22 c0 09 c2 0b 46 87 |bj pass)| "....F.|
|000055a0| 22 20 5b 61 73 65 74 20 | 75 72 6c 6f 62 6a 20 32 |" [aset |urlobj 2|
|000055b0| 20 70 61 73 73 5d 20 34 | 5d 29 20 75 72 6c 2d 73 | pass] 4|]) url-s|
|000055c0| 65 74 2d 68 6f 73 74 20 | 28 6d 61 63 72 6f 20 2e |et-host |(macro .|
|000055d0| 20 23 5b 28 75 72 6c 6f | 62 6a 20 68 6f 73 74 29 | #[(urlo|bj host)|
|000055e0| 20 22 c0 09 c2 0b 46 87 | 22 20 5b 61 73 65 74 20 | "....F.|" [aset |
|000055f0| 75 72 6c 6f 62 6a 20 33 | 20 68 6f 73 74 5d 20 34 |urlobj 3| host] 4|
|00005600| 5d 29 20 75 72 6c 2d 73 | 65 74 2d 70 6f 72 74 20 |]) url-s|et-port |
|00005610| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 75 72 6c 6f |(macro .| #[(urlo|
|00005620| 62 6a 20 70 6f 72 74 29 | 20 22 c0 09 c2 0b 46 87 |bj port)| "....F.|
|00005630| 22 20 5b 61 73 65 74 20 | 75 72 6c 6f 62 6a 20 34 |" [aset |urlobj 4|
|00005640| 20 70 6f 72 74 5d 20 34 | 5d 29 20 75 72 6c 2d 73 | port] 4|]) url-s|
|00005650| 65 74 2d 66 69 6c 65 6e | 61 6d 65 20 28 6d 61 63 |et-filen|ame (mac|
|00005660| 72 6f 20 2e 20 23 5b 28 | 75 72 6c 6f 62 6a 20 66 |ro . #[(|urlobj f|
|00005670| 69 6c 65 29 20 22 c0 09 | c2 0b 46 87 22 20 5b 61 |ile) "..|..F." [a|
|00005680| 73 65 74 20 75 72 6c 6f | 62 6a 20 35 20 66 69 6c |set urlo|bj 5 fil|
|00005690| 65 5d 20 34 5d 29 20 75 | 72 6c 2d 73 65 74 2d 74 |e] 4]) u|rl-set-t|
|000056a0| 61 72 67 65 74 20 28 6d | 61 63 72 6f 20 2e 20 23 |arget (m|acro . #|
|000056b0| 5b 28 75 72 6c 6f 62 6a | 20 74 61 72 67 29 20 22 |[(urlobj| targ) "|
|000056c0| c0 09 c2 0b 46 87 22 20 | 5b 61 73 65 74 20 75 72 |....F." |[aset ur|
|000056d0| 6c 6f 62 6a 20 36 20 74 | 61 72 67 5d 20 34 5d 29 |lobj 6 t|arg] 4])|
|000056e0| 20 75 72 6c 2d 73 65 74 | 2d 66 75 6c 6c 20 28 6d | url-set|-full (m|
|000056f0| 61 63 72 6f 20 2e 20 23 | 5b 28 75 72 6c 6f 62 6a |acro . #|[(urlobj|
|00005700| 20 76 61 6c 29 20 22 c0 | 09 c2 0b 46 87 22 20 5b | val) ".|...F." [|
|00005710| 61 73 65 74 20 75 72 6c | 6f 62 6a 20 37 20 76 61 |aset url|obj 7 va|
|00005720| 6c 5d 20 34 5d 29 20 75 | 72 6c 2d 72 65 63 72 65 |l] 4]) u|rl-recre|
|00005730| 61 74 65 2d 75 72 6c 20 | 23 5b 28 75 72 6c 6f 62 |ate-url |#[(urlob|
|00005740| 6a 29 20 22 08 c1 48 c2 | 08 c3 48 ab 83 c4 aa 81 |j) "..H.|..H.....|
|00005750| c5 08 c6 48 ad 8f 08 c6 | 48 08 c7 48 ad 85 c2 08 |...H....|H..H....|
|00005760| c7 48 50 c8 51 08 c3 48 | 08 c9 48 ac 8f 08 ca 48 |.HP.Q..H|..H....H|
|00005770| ad bc cb 08 c1 48 0e 0c | 5c 22 a3 ad b2 08 c9 48 |.....H..|\".....H|
|00005780| ae 8d 08 ca 48 ad 88 cb | 08 c1 48 0e 0c 5c 22 a3 |....H...|..H..\".|
|00005790| cb 08 c1 48 0e 0c 5c 22 | a3 9a 3f ad 94 c2 08 c9 |...H..\"|..?.....|
|000057a0| 48 ae 8d 08 ca 48 ad 88 | cb 08 c1 48 0e 0c 5c 22 |H....H..|...H..\"|
|000057b0| a3 50 08 cd 48 ae 81 ce | 08 cf 48 ad 85 d0 08 cf |.P..H...|..H.....|
|000057c0| 48 50 b0 08 87 22 20 5b | 75 72 6c 6f 62 6a 20 30 |HP..." [|urlobj 0|
|000057d0| 20 22 3a 22 20 33 20 22 | 2f 2f 22 20 22 22 20 31 | ":" 3 "|//" "" 1|
|000057e0| 20 32 20 22 40 22 20 34 | 20 37 20 61 73 73 6f 63 | 2 "@" 4| 7 assoc|
|000057f0| 20 75 72 6c 2d 64 65 66 | 61 75 6c 74 2d 70 6f 72 | url-def|ault-por|
|00005800| 74 73 20 35 20 22 2f 22 | 20 36 20 22 23 22 5d 20 |ts 5 "/"| 6 "#"] |
|00005810| 31 30 5d 5d 20 34 29 0a | 28 66 73 65 74 20 27 75 |10]] 4).|(fset 'u|
|00005820| 72 6c 2d 67 65 6e 65 72 | 69 63 2d 70 61 72 73 65 |rl-gener|ic-parse|
|00005830| 2d 75 72 6c 20 23 5b 28 | 75 72 6c 29 20 22 08 ac |-url #[(|url) "..|
|00005840| 85 c1 c2 c3 5c 22 87 c4 | 0d 08 5c 22 ab 87 c6 08 |....\"..|..\"....|
|00005850| 21 c7 55 ab 95 c1 c2 c3 | 5c 22 89 1e 08 c9 08 49 |!.U.....|\".....I|
|00005860| 88 0e 08 ca c3 49 88 0e | 08 29 87 8a cb cc 21 71 |.....I..|.)....!q|
|00005870| 88 cd 20 88 08 63 88 65 | 62 88 ce 0e 0f 21 88 60 |.. ..c.e|b....!.`|
|00005880| c3 89 89 89 89 89 89 89 | 1e 10 1e 11 1e 12 1e 13 |........|........|
|00005890| 1e 14 1e 15 1e 16 1e 17 | 1e 18 d9 da 21 ac 97 db |........|....!...|
|000058a0| c3 77 88 dc 0e 18 60 5c | 22 88 0e 18 60 7b 16 17 |.w....`\|"...`{..|
|000058b0| dd c3 77 88 60 16 18 d9 | da 21 ab e0 de 16 10 df |..w.`...|.!......|
|000058c0| 75 88 60 16 18 e0 c3 77 | 88 dc 0e 18 60 5c 22 88 |u.`....w|....`\".|
|000058d0| 0e 18 60 7b 16 14 c4 e1 | 0e 14 5c 22 ab 8e e2 0e |..`{....|..\"....|
|000058e0| 14 e3 5c 22 16 16 e2 0e | 14 df 5c 22 16 14 0e 16 |..\"....|..\"....|
|000058f0| ab 95 c4 e4 0e 16 5c 22 | ab 8e e2 0e 16 df 5c 22 |......\"|......\"|
|00005900| 16 15 e2 0e 16 e3 5c 22 | 16 16 c4 e5 0e 14 5c 22 |......\"|......\"|
|00005910| ab 8f e2 0e 14 e3 5c 22 | 16 13 0e 14 e6 89 94 4f |......\"|.......O|
|00005920| 16 14 60 16 18 e7 c3 77 | 88 0e 18 60 7b 16 12 6d |..`....w|...`{..m|
|00005930| ac 89 e8 c3 77 88 60 64 | 7b 16 11 0e 13 ab 92 0e |....w.`d|{.......|
|00005940| 13 e9 0e 17 0e 2a 5c 22 | a3 ae 81 eb 98 ab 83 c3 |.....*\"|........|
|00005950| 16 13 ec 0e 17 0e 16 0e | 15 0e 14 0e 13 0e 12 0e |........|........|
|00005960| 11 0e 10 26 08 2e 5c 6e | 87 22 20 5b 75 72 6c 20 |...&..\n|." [url |
|00005970| 6d 61 6b 65 2d 76 65 63 | 74 6f 72 20 38 20 6e 69 |make-vec|tor 8 ni|
|00005980| 6c 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 75 |l string|-match u|
|00005990| 72 6c 2d 6e 6f 6e 72 65 | 6c 61 74 69 76 65 2d 6c |rl-nonre|lative-l|
|000059a0| 69 6e 6b 20 73 74 72 69 | 6e 67 2d 74 6f 2d 63 68 |ink stri|ng-to-ch|
|000059b0| 61 72 20 34 37 20 72 65 | 74 76 61 6c 20 35 20 37 |ar 47 re|tval 5 7|
|000059c0| 20 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 | get-buf|fer-crea|
|000059d0| 74 65 20 22 20 2a 75 72 | 6c 70 61 72 73 65 2a 22 |te " *ur|lparse*"|
|000059e0| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 73 65 | erase-b|uffer se|
|000059f0| 74 2d 73 79 6e 74 61 78 | 2d 74 61 62 6c 65 20 75 |t-syntax|-table u|
|00005a00| 72 6c 2d 6d 61 69 6c 73 | 65 72 76 65 72 2d 73 79 |rl-mails|erver-sy|
|00005a10| 6e 74 61 78 2d 74 61 62 | 6c 65 20 66 75 6c 6c 20 |ntax-tab|le full |
|00005a20| 72 65 66 73 20 66 69 6c | 65 20 70 6f 72 74 20 68 |refs fil|e port h|
|00005a30| 6f 73 74 20 70 61 73 73 | 20 75 73 65 72 20 70 72 |ost pass| user pr|
|00005a40| 6f 74 20 73 61 76 65 2d | 70 6f 73 20 6c 6f 6f 6b |ot save-|pos look|
|00005a50| 69 6e 67 2d 61 74 20 22 | 2f 2f 22 20 22 61 2d 7a |ing-at "|//" "a-z|
|00005a60| 41 2d 5a 2b 2e 5c 5c 2d | 22 20 64 6f 77 6e 63 61 |A-Z+.\\-|" downca|
|00005a70| 73 65 2d 72 65 67 69 6f | 6e 20 22 3a 22 20 74 20 |se-regio|n ":" t |
|00005a80| 32 20 22 5e 2f 22 20 22 | 5c 5c 28 5b 5e 40 5d 2b |2 "^/" "|\\([^@]+|
|00005a90| 5c 5c 29 40 5c 5c 28 2e | 2a 5c 5c 29 22 20 75 72 |\\)@\\(.|*\\)" ur|
|00005aa0| 6c 2d 6d 61 74 63 68 20 | 31 20 22 5c 5c 28 5b 5e |l-match |1 "\\([^|
|00005ab0| 3a 5d 2b 5c 5c 29 3a 5c | 5c 28 2e 2a 5c 5c 29 22 |:]+\\):\|\(.*\\)"|
|00005ac0| 20 22 3a 5c 5c 28 5b 30 | 2d 39 2b 5d 2b 5c 5c 29 | ":\\([0|-9+]+\\)|
|00005ad0| 22 20 30 20 22 5e 23 22 | 20 22 23 22 20 61 73 73 |" 0 "^#"| "#" ass|
|00005ae0| 6f 63 20 75 72 6c 2d 64 | 65 66 61 75 6c 74 2d 70 |oc url-d|efault-p|
|00005af0| 6f 72 74 73 20 22 22 20 | 76 65 63 74 6f 72 5d 20 |orts "" |vector] |
|00005b00| 31 30 20 22 5c 0a 52 65 | 74 75 72 6e 20 61 20 76 |10 "\.Re|turn a v|
|00005b10| 65 63 74 6f 72 20 6f 66 | 20 74 68 65 20 70 61 72 |ector of| the par|
|00005b20| 74 73 20 6f 66 20 55 52 | 4c 2e 0a 46 6f 72 6d 61 |ts of UR|L..Forma|
|00005b30| 74 20 69 73 20 5b 70 72 | 6f 74 6f 63 6f 6c 20 75 |t is [pr|otocol u|
|00005b40| 73 65 72 6e 61 6d 65 20 | 70 61 73 73 77 6f 72 64 |sername |password|
|00005b50| 20 68 6f 73 74 6e 61 6d | 65 20 70 6f 72 74 6e 75 | hostnam|e portnu|
|00005b60| 6d 62 65 72 20 66 69 6c | 65 20 72 65 66 65 72 65 |mber fil|e refere|
|00005b70| 6e 63 65 5d 22 5d 29 0a | 28 62 79 74 65 2d 63 6f |nce]"]).|(byte-co|
|00005b80| 64 65 20 22 c0 c1 21 ab | 86 c2 c1 4d 88 aa 84 c2 |de "..!.|...M....|
|00005b90| c3 4d 88 c4 c5 4d 88 c6 | c7 4d 88 c8 c9 4d 88 ca |.M...M..|.M...M..|
|00005ba0| cb 4d 88 cc cd 4d 88 ce | cf 4d 88 d0 d1 4d 88 d2 |.M...M..|.M...M..|
|00005bb0| d3 4d 87 22 20 5b 66 62 | 6f 75 6e 64 70 20 6d 6d |.M." [fb|oundp mm|
|00005bc0| 2d 73 74 72 69 6e 67 2d | 74 6f 2d 74 6f 6b 65 6e |-string-|to-token|
|00005bd0| 73 20 75 72 6c 2d 73 74 | 72 69 6e 67 2d 74 6f 2d |s url-st|ring-to-|
|00005be0| 74 6f 6b 65 6e 73 20 23 | 5b 28 73 74 72 20 26 6f |tokens #|[(str &o|
|00005bf0| 70 74 69 6f 6e 61 6c 20 | 64 65 6c 69 6d 29 20 22 |ptional |delim) "|
|00005c00| 08 ae 81 c1 10 c2 89 1b | 1c c5 c6 0e 07 5c 22 88 |........|.....\".|
|00005c10| 0b 0c 42 9f 2a 87 22 20 | 5b 64 65 6c 69 6d 20 33 |..B.*." |[delim 3|
|00005c20| 32 20 6e 69 6c 20 79 20 | 72 65 73 75 6c 74 73 20 |2 nil y |results |
|00005c30| 6d 61 70 63 61 72 20 23 | 5b 28 78 29 20 22 08 09 |mapcar #|[(x) "..|
|00005c40| 55 ab 8b 5c 6e ab 88 5c | 6e 0b 42 13 c4 89 12 87 |U..\n..\|n.B.....|
|00005c50| 08 09 55 ac 88 5c 6e c5 | 08 21 50 89 12 87 c4 87 |..U..\n.|.!P.....|
|00005c60| 22 20 5b 78 20 64 65 6c | 69 6d 20 79 20 72 65 73 |" [x del|im y res|
|00005c70| 75 6c 74 73 20 6e 69 6c | 20 63 68 61 72 2d 74 6f |ults nil| char-to|
|00005c80| 2d 73 74 72 69 6e 67 5d | 20 33 5d 20 73 74 72 5d |-string]| 3] str]|
|00005c90| 20 33 20 22 52 65 74 75 | 72 6e 20 61 20 6c 69 73 | 3 "Retu|rn a lis|
|00005ca0| 74 20 6f 66 20 77 6f 72 | 64 73 20 66 72 6f 6d 20 |t of wor|ds from |
|00005cb0| 74 68 65 20 73 74 72 69 | 6e 67 20 53 54 52 22 5d |the stri|ng STR"]|
|00005cc0| 20 75 72 6c 2d 64 61 79 | 73 2d 62 65 74 77 65 65 | url-day|s-betwee|
|00005cd0| 6e 20 23 5b 28 64 61 74 | 65 31 20 64 61 74 65 32 |n #[(dat|e1 date2|
|00005ce0| 29 20 22 c0 09 21 c0 5c | 6e 21 5a 87 22 20 5b 75 |) "..!.\|n!Z." [u|
|00005cf0| 72 6c 2d 64 61 79 2d 6e | 75 6d 62 65 72 20 64 61 |rl-day-n|umber da|
|00005d00| 74 65 31 20 64 61 74 65 | 32 5d 20 33 5d 20 75 72 |te1 date|2] 3] ur|
|00005d10| 6c 2d 64 61 79 2d 6e 75 | 6d 62 65 72 20 23 5b 28 |l-day-nu|mber #[(|
|00005d20| 64 61 74 65 29 20 22 c0 | c1 c2 0b 21 5c 22 1c c5 |date) ".|...!\"..|
|00005d30| 0c 41 40 c6 0c 38 0c 40 | 23 29 87 22 20 5b 6d 61 |.A@..8.@|#)." [ma|
|00005d40| 70 63 61 72 20 23 5b 28 | 73 29 20 22 08 ad 83 c1 |pcar #[(|s) "....|
|00005d50| 08 21 87 22 20 5b 73 20 | 73 74 72 69 6e 67 2d 74 |.!." [s |string-t|
|00005d60| 6f 2d 69 6e 74 5d 20 32 | 5d 20 74 69 6d 65 7a 6f |o-int] 2|] timezo|
|00005d70| 6e 65 2d 70 61 72 73 65 | 2d 64 61 74 65 20 64 61 |ne-parse|-date da|
|00005d80| 74 65 20 64 61 74 20 74 | 69 6d 65 7a 6f 6e 65 2d |te dat t|imezone-|
|00005d90| 61 62 73 6f 6c 75 74 65 | 2d 66 72 6f 6d 2d 67 72 |absolute|-from-gr|
|00005da0| 65 67 6f 72 69 61 6e 20 | 32 5d 20 34 5d 20 75 72 |egorian |2] 4] ur|
|00005db0| 6c 2d 73 65 63 6f 6e 64 | 73 2d 73 69 6e 63 65 2d |l-second|s-since-|
|00005dc0| 65 70 6f 63 68 20 23 5b | 28 64 61 74 65 29 20 22 |epoch #[|(date) "|
|00005dd0| c0 c1 c2 0b 21 5c 22 1c | c0 c5 c6 c2 0b 21 c7 48 |....!\".|.....!.H|
|00005de0| 21 5c 22 1e 08 c0 c9 c2 | ca 21 5c 22 1e 0b cc 0c |!\".....|.!\"....|
|00005df0| 41 40 cd 0c 38 0c 40 23 | cc 0e 0b 41 40 cd 0e 0b |A@..8.@#|...A@...|
|00005e00| 38 0e 0b 40 23 5a 1e 0e | cd 0e 08 38 0e 08 41 40 |8..@#Z..|...8..A@|
|00005e10| cf 5f 0e 08 40 d0 5f 0e | 0e d1 5f 5c 5c 5c 5c 5c |._..@._.|.._\\\\\|
|00005e20| 5c 2c 87 22 20 5b 6d 61 | 70 63 61 72 20 23 5b 28 |\,." [ma|pcar #[(|
|00005e30| 74 69 29 20 22 08 ad 83 | c1 08 21 87 22 20 5b 74 |ti) "...|..!." [t|
|00005e40| 69 20 73 74 72 69 6e 67 | 2d 74 6f 2d 69 6e 74 5d |i string|-to-int]|
|00005e50| 20 32 5d 20 74 69 6d 65 | 7a 6f 6e 65 2d 70 61 72 | 2] time|zone-par|
|00005e60| 73 65 2d 64 61 74 65 20 | 64 61 74 65 20 74 64 61 |se-date |date tda|
|00005e70| 74 65 20 23 5b 28 74 69 | 29 20 22 08 ad 83 c1 08 |te #[(ti|) ".....|
|00005e80| 21 87 22 20 5b 74 69 20 | 73 74 72 69 6e 67 2d 74 |!." [ti |string-t|
|00005e90| 6f 2d 69 6e 74 5d 20 32 | 5d 20 74 69 6d 65 7a 6f |o-int] 2|] timezo|
|00005ea0| 6e 65 2d 70 61 72 73 65 | 2d 74 69 6d 65 20 33 20 |ne-parse|-time 3 |
|00005eb0| 74 74 69 6d 65 20 23 5b | 28 74 69 29 20 22 08 ad |ttime #[|(ti) "..|
|00005ec0| 83 c1 08 21 87 22 20 5b | 74 69 20 73 74 72 69 6e |...!." [|ti strin|
|00005ed0| 67 2d 74 6f 2d 69 6e 74 | 5d 20 32 5d 20 22 4a 61 |g-to-int|] 2] "Ja|
|00005ee0| 6e 20 31 20 31 32 3a 30 | 30 3a 30 30 20 31 39 37 |n 1 12:0|0:00 197|
|00005ef0| 30 22 20 65 64 61 74 65 | 20 74 69 6d 65 7a 6f 6e |0" edate| timezon|
|00005f00| 65 2d 61 62 73 6f 6c 75 | 74 65 2d 66 72 6f 6d 2d |e-absolu|te-from-|
|00005f10| 67 72 65 67 6f 72 69 61 | 6e 20 32 20 74 64 61 79 |gregoria|n 2 tday|
|00005f20| 20 36 30 20 33 36 30 30 | 20 38 36 34 30 30 5d 20 | 60 3600| 86400] |
|00005f30| 35 5d 20 75 72 6c 2d 6d | 61 74 63 68 20 23 5b 28 |5] url-m|atch #[(|
|00005f40| 73 20 78 29 20 22 08 09 | 94 09 95 4f 87 22 20 5b |s x) "..|...O." [|
|00005f50| 73 20 78 5d 20 33 5d 20 | 75 72 6c 2d 73 70 6c 69 |s x] 3] |url-spli|
|00005f60| 74 20 23 5b 28 73 74 72 | 20 64 65 6c 29 20 22 c0 |t #[(str| del) ".|
|00005f70| 89 19 1a c3 0c 0d 5c 22 | ab 9a 0d c6 89 94 4f 11 |......\"|......O.|
|00005f80| 0d c6 95 c0 4f 15 c3 c7 | 09 5c 22 ac 68 09 89 44 |....O...|.\".h..D|
|00005f90| 5c 6e 42 12 aa 60 0d c8 | 9a ac 86 0d 89 44 5c 6e |\nB..`..|.....D\n|
|00005fa0| 42 12 5c 6e 2a 87 22 20 | 5b 6e 69 6c 20 79 20 78 |B.\n*." |[nil y x|
|00005fb0| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 64 65 | string-|match de|
|00005fc0| 6c 20 73 74 72 20 30 20 | 22 5e 5b 20 09 5d 2b 24 |l str 0 |"^[ .]+$|
|00005fd0| 22 20 22 22 5d 20 33 5d | 20 75 72 6c 2d 72 65 70 |" ""] 3]| url-rep|
|00005fe0| 6c 61 63 65 2d 72 65 67 | 65 78 70 20 23 5b 28 72 |lace-reg|exp #[(r|
|00005ff0| 65 67 65 78 70 20 74 6f | 2d 73 74 72 69 6e 67 29 |egexp to|-string)|
|00006000| 20 22 65 62 88 c0 09 c2 | c3 23 ad 88 c4 0d c3 c2 | "eb....|.#......|
|00006010| 23 88 aa 71 87 22 20 5b | 72 65 2d 73 65 61 72 63 |#..q." [|re-searc|
|00006020| 68 2d 66 6f 72 77 61 72 | 64 20 72 65 67 65 78 70 |h-forwar|d regexp|
|00006030| 20 6e 69 6c 20 74 20 72 | 65 70 6c 61 63 65 2d 6d | nil t r|eplace-m|
|00006040| 61 74 63 68 20 74 6f 2d | 73 74 72 69 6e 67 5d 20 |atch to-|string] |
|00006050| 34 5d 20 75 72 6c 2d 63 | 6c 65 61 72 2d 74 6d 70 |4] url-c|lear-tmp|
|00006060| 2d 62 75 66 66 65 72 20 | 23 5b 6e 69 6c 20 22 c0 |-buffer |#[nil ".|
|00006070| 09 21 71 88 5c 6e ab 83 | c3 20 88 c4 20 87 22 20 |.!q.\n..|. .. ." |
|00006080| 5b 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 |[get-buf|fer-crea|
|00006090| 74 65 20 75 72 6c 2d 77 | 6f 72 6b 69 6e 67 2d 62 |te url-w|orking-b|
|000060a0| 75 66 66 65 72 20 62 75 | 66 66 65 72 2d 72 65 61 |uffer bu|ffer-rea|
|000060b0| 64 2d 6f 6e 6c 79 20 74 | 6f 67 67 6c 65 2d 72 65 |d-only t|oggle-re|
|000060c0| 61 64 2d 6f 6e 6c 79 20 | 65 72 61 73 65 2d 62 75 |ad-only |erase-bu|
|000060d0| 66 66 65 72 5d 20 32 5d | 20 75 72 6c 2d 6d 61 79 |ffer] 2]| url-may|
|000060e0| 62 65 2d 72 65 6c 61 74 | 69 76 65 20 23 5b 28 75 |be-relat|ive #[(u|
|000060f0| 72 6c 29 20 22 c0 c1 5c | 6e 21 21 87 22 20 5b 75 |rl) "..\|n!!." [u|
|00006100| 72 6c 2d 72 65 74 72 69 | 65 76 65 20 75 72 6c 2d |rl-retri|eve url-|
|00006110| 65 78 70 61 6e 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |expand-f|ile-name|
|00006120| 20 75 72 6c 5d 20 33 5d | 5d 20 32 29 0a 28 66 73 | url] 3]|] 2).(fs|
|00006130| 65 74 20 27 75 72 6c 2d | 62 75 66 66 65 72 2d 69 |et 'url-|buffer-i|
|00006140| 73 2d 68 79 70 65 72 74 | 65 78 74 20 23 5b 28 26 |s-hypert|ext #[(&|
|00006150| 6f 70 74 69 6f 6e 61 6c | 20 62 75 66 66 29 20 22 |optional| buff) "|
|00006160| 08 ae 81 70 10 8a 08 71 | 88 c1 1a 65 62 88 c3 c4 |...p...q|...eb...|
|00006170| c5 c1 23 2a 87 22 20 5b | 62 75 66 66 20 74 20 63 |..#*." [|buff t c|
|00006180| 61 73 65 2d 66 6f 6c 64 | 2d 73 65 61 72 63 68 20 |ase-fold|-search |
|00006190| 72 65 2d 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |re-searc|h-forwar|
|000061a0| 64 20 22 3c 5c 5c 28 54 | 49 54 4c 45 5c 5c 7c 48 |d "<\\(T|ITLE\\|H|
|000061b0| 45 41 44 5c 5c 7c 42 41 | 53 45 5c 5c 7c 48 5b 30 |EAD\\|BA|SE\\|H[0|
|000061c0| 2d 39 5d 5c 5c 7c 49 53 | 49 4e 44 45 58 5c 5c 7c |-9]\\|IS|INDEX\\||
|000061d0| 50 5c 5c 29 3e 22 20 6e | 69 6c 5d 20 34 20 22 5c |P\\)>" n|il] 4 "\|
|000061e0| 0a 52 65 74 75 72 6e 20 | 74 20 69 66 20 61 20 62 |.Return |t if a b|
|000061f0| 75 66 66 65 72 20 63 6f | 6e 74 61 69 6e 73 20 48 |uffer co|ntains H|
|00006200| 54 4d 4c 2c 20 61 73 20 | 6e 65 61 72 20 61 73 20 |TML, as |near as |
|00006210| 77 65 20 63 61 6e 20 67 | 75 65 73 73 2e 22 5d 29 |we can g|uess."])|
|00006220| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 4d |.(byte-c|ode "..M|
|00006230| 88 c2 c3 4d 88 c4 c5 4d | 88 c6 c7 4d 87 22 20 5b |...M...M|...M." [|
|00006240| 6e 6e 74 70 2d 61 66 74 | 65 72 2d 63 68 61 6e 67 |nntp-aft|er-chang|
|00006250| 65 2d 66 75 6e 63 74 69 | 6f 6e 20 23 5b 28 26 72 |e-functi|on #[(&r|
|00006260| 65 73 74 20 61 72 67 73 | 29 20 22 8a 08 71 88 c1 |est args|) "..q..|
|00006270| c2 64 5c 22 29 87 22 20 | 5b 6e 6e 74 70 2d 73 65 |.d\")." |[nntp-se|
|00006280| 72 76 65 72 2d 62 75 66 | 66 65 72 20 6d 65 73 73 |rver-buf|fer mess|
|00006290| 61 67 65 20 22 52 65 61 | 64 20 25 64 20 62 79 74 |age "Rea|d %d byt|
|000062a0| 65 73 22 5d 20 33 5d 20 | 75 72 6c 2d 70 65 72 63 |es"] 3] |url-perc|
|000062b0| 65 6e 74 61 67 65 20 23 | 5b 28 78 20 79 29 20 22 |entage #|[(x y) "|
|000062c0| c0 c1 21 ab 8a c2 0b c1 | 0c 21 a5 c5 5f 21 87 0b |..!.....|.!.._!..|
|000062d0| c5 5f 0c a5 87 22 20 5b | 66 62 6f 75 6e 64 70 20 |._..." [|fboundp |
|000062e0| 66 6c 6f 61 74 20 72 6f | 75 6e 64 20 78 20 79 20 |float ro|und x y |
|000062f0| 31 30 30 5d 20 34 5d 20 | 75 72 6c 2d 61 66 74 65 |100] 4] |url-afte|
|00006300| 72 2d 63 68 61 6e 67 65 | 2d 66 75 6e 63 74 69 6f |r-change|-functio|
|00006310| 6e 20 23 5b 28 26 72 65 | 73 74 20 61 72 67 73 29 |n #[(&re|st args)|
|00006320| 20 22 8a 08 71 88 c1 1a | 0b ac c0 65 62 88 c4 c1 | "..q...|...eb...|
|00006330| 77 88 c5 c6 21 ac 84 c7 | 13 aa b0 c8 c9 c1 ca 23 |w...!...|.......#|
|00006340| ad 81 60 16 0b c8 cc 0e | 0b ca 23 ab 8a cd ce 94 |..`.....|..#.....|
|00006350| ce 95 7b 21 97 16 0f c8 | d0 0e 0b ca 23 ab 8a d1 |..{!....|....#...|
|00006360| ce 94 ce 95 7b 21 13 aa | 82 c1 13 65 62 88 c8 d2 |....{!..|...eb...|
|00006370| 0e 0b ca 23 ab 8c ce 94 | ce 95 7b 12 d3 d4 5c 6e |...#....|..{...\n|
|00006380| 50 21 88 64 62 88 5c 6e | ab 86 d5 d6 5c 6e 5c 22 |P!.db.\n|....\n\"|
|00006390| aa cb 0b ab 96 0b ce 56 | ab 91 0e 0f ab 8d d5 d7 |.......V|........|
|000063a0| 64 0b d8 64 0b 5c 22 0e | 0f 25 aa b2 0b ab 90 0b |d..d.\".|.%......|
|000063b0| ce 56 ab 8b d5 d9 64 0b | d8 64 0b 5c 22 24 aa 9f |.V....d.|.d.\"$..|
|000063c0| 64 ce 55 ac 8c 0e 0f ab | 88 d5 da 64 0e 0f 23 aa |d.U.....|...d..#.|
|000063d0| 8e 64 ce 55 ac 86 d5 db | 64 5c 22 aa 83 d5 dc 21 |.d.U....|d\"....!|
|000063e0| 2a 87 22 20 5b 75 72 6c | 2d 77 6f 72 6b 69 6e 67 |*." [url|-working|
|000063f0| 2d 62 75 66 66 65 72 20 | 6e 69 6c 20 73 74 61 74 |-buffer |nil stat|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.